Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2f64fc9

Browse files
authored
Merge pull request preboot#49 from phra/fix/coverage
explicitly include all source code, fixes preboot#8
2 parents c515d24 + 78eb561 commit 2f64fc9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/tests.webpack.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
import 'angular';
55
import 'angular-mocks/angular-mocks';
66

7-
var testsContext = require.context(".", true, /.spec$/);
8-
testsContext.keys().forEach(testsContext);
7+
const context = require.context('./app', true, /\.js$/);
8+
9+
context.keys().forEach(context);
10+

0 commit comments

Comments
 (0)