#17 Added Promise to test multiple files

This commit is contained in:
mauriziovitale84
2016-04-22 17:00:24 +01:00
parent efe479cefb
commit b1f884401b

View File

@@ -31,8 +31,9 @@
});
// #3. Import the spec file explicitly
System.import('src/authentication.service.spec')
Promise.all([
System.import('src/authentication.service.spec')
])
// #4. wait for all imports to load ...
// then re-execute `window.onload` which
// triggers the Jasmine test-runner start