mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
#17 Added Promise to test multiple files
This commit is contained in:
@@ -31,8 +31,9 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
// #3. Import the spec file explicitly
|
// #3. Import the spec file explicitly
|
||||||
|
Promise.all([
|
||||||
System.import('src/authentication.service.spec')
|
System.import('src/authentication.service.spec')
|
||||||
|
])
|
||||||
// #4. wait for all imports to load ...
|
// #4. wait for all imports to load ...
|
||||||
// then re-execute `window.onload` which
|
// then re-execute `window.onload` which
|
||||||
// triggers the Jasmine test-runner start
|
// triggers the Jasmine test-runner start
|
||||||
|
Reference in New Issue
Block a user