diff --git a/frontend/app-config/karma-test-shim.js b/frontend/app-config/karma-test-shim.js index e0c8bbea6..f7d2fbbd6 100644 --- a/frontend/app-config/karma-test-shim.js +++ b/frontend/app-config/karma-test-shim.js @@ -14,6 +14,6 @@ testing.getTestBed().initTestEnvironment( ); // Then we find all the tests. -const context = require.context('./../app', true, /contents\.forms\.spec\.ts$/); +const context = require.context('./../app', true, /\.spec\.ts$/); // And load the modules. -context.keys().map(context); \ No newline at end of file +context.keys().map(context);