unit test modified

This commit is contained in:
Giuseppe Digilio
2016-12-22 12:07:33 +01:00
parent d624a19618
commit 2eabedd3cc
5 changed files with 78 additions and 24 deletions

View File

@@ -47,7 +47,7 @@ testing.TestBed.initTestEnvironment(
* any file that ends with spec.ts and get its path. By passing in true
* we say do this recursively
*/
var testContext = require.context('./src/tests', true, /\.spec\.ts/);
var testContext = require.context('./src', true, /\.spec\.ts/);
/*
* get all the files, for each file, call the context function