mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-10594] Run unit tests in headless mode (#8141)
* AAE-10594 - changed karma configs to run unit tests in headless mode * AAE-10594 - removed commets * [AAE-10594] fixed failing test
This commit is contained in:
committed by
GitHub
parent
2062d4744c
commit
058cd9e01c
@@ -69,7 +69,9 @@ describe('ClipboardService', () => {
|
||||
});
|
||||
|
||||
it('should notify copy to clipboard with message', () => {
|
||||
spyOn(navigator.clipboard, 'writeText');
|
||||
spyOn(notificationService, 'openSnackMessage');
|
||||
|
||||
inputElement.value = 'some text';
|
||||
|
||||
clipboardService.copyToClipboard(inputElement, 'success');
|
||||
|
Reference in New Issue
Block a user