service.show(NotificationType.info, 'Some info');
expect(toastr.info).toHaveBeenCalledWith(
`<small class="date">${time}</small>` +
- '<i class="float-right custom-icon ceph-icon" title="Ceph"></i>',
+ '<i class="float-end custom-icon ceph-icon" title="Ceph"></i>',
'Some info',
undefined
);
expect(toastr.error).toHaveBeenCalledWith(
'Some operation failed<br>' +
`<small class="date">${time}</small>` +
- '<i class="float-right custom-icon ceph-icon" title="Ceph"></i>',
+ '<i class="float-end custom-icon ceph-icon" title="Ceph"></i>',
'Some error',
undefined
);
expect(toastr.success).toHaveBeenCalledWith(
'Some alert resolved<br>' +
`<small class="date">${time}</small>` +
- '<i class="float-right custom-icon prometheus-icon" title="Prometheus"></i>',
+ '<i class="float-end custom-icon prometheus-icon" title="Prometheus"></i>',
'Alert resolved',
undefined
);