Update test expectations to match Carbon icon names instead of
fork-awesome class names:
- 'fa fa-check-circle' -> 'success'
- 'fa fa-exclamation-triangle' -> 'warningAltFilled'
- 'fa fa-exclamation-circle' -> 'error'
Signed-off-by: Afreen Misbah <afreen@ibm.com>
Assisted-by: Claude
Fixes: https://tracker.ceph.com/issues/76631
});
it('transforms "HEALTH_OK"', () => {
- expect(pipe.transform('HEALTH_OK')).toEqual('fa fa-check-circle');
+ expect(pipe.transform('HEALTH_OK')).toEqual('success');
});
it('transforms "HEALTH_WARN"', () => {
- expect(pipe.transform('HEALTH_WARN')).toEqual('fa fa-exclamation-triangle');
+ expect(pipe.transform('HEALTH_WARN')).toEqual('warningAltFilled');
});
it('transforms "HEALTH_ERR"', () => {
- expect(pipe.transform('HEALTH_ERR')).toEqual('fa fa-exclamation-circle');
+ expect(pipe.transform('HEALTH_ERR')).toEqual('error');
});
});