@ -76,12 +76,14 @@ Promise
|
||||
testing.TestBed.initTestEnvironment(
|
||||
testingBrowser.BrowserDynamicTestingModule,
|
||||
testingBrowser.platformBrowserDynamicTesting());
|
||||
|
||||
})
|
||||
.then(function() {
|
||||
// Finally, load all spec files.
|
||||
// This will run the tests directly.
|
||||
return Promise.all(
|
||||
allSpecFiles.map(function(moduleName) { return System.import(moduleName); }));
|
||||
return Promise.all(allSpecFiles.map(function(moduleName) {
|
||||
return System.import(moduleName);
|
||||
}));
|
||||
})
|
||||
.then(__karma__.start, function(v) { console.error(v); });
|
||||
.then(__karma__.start, function(v) {
|
||||
console.error(v);
|
||||
});
|
||||
|
Reference in New Issue
Block a user