Skip to content

Commit 5cefdd5

Browse files
committed
chore(karma): don't watch deps when running tests (#313)
1 parent a97378e commit 5cefdd5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/karma.config.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ export function config(config) {
1919
require('karma-firefox-launcher'),
2020
],
2121
files: [
22-
{pattern: 'node_modules/es6-shim/es6-shim.min.js', included: true, watched: true},
23-
{pattern: 'node_modules/systemjs/dist/system-polyfills.js', included: true, watched: true},
22+
{pattern: 'node_modules/es6-shim/es6-shim.min.js', included: true, watched: false},
23+
{pattern: 'node_modules/systemjs/dist/system-polyfills.js', included: true, watched: false},
2424
'node_modules/angular2/es6/dev/src/testing/shims_for_IE.js',
2525

2626
// Angular 2 polyfills *must* be loaded after es6-shim and system-polyfills in order to
2727
// setup the monkey-patches for zones.
28-
{pattern: 'node_modules/angular2/bundles/angular2-polyfills.js', included: true, watched: true},
29-
{pattern: 'node_modules/systemjs/dist/system.src.js', included: true, watched: true},
30-
{pattern: 'node_modules/rxjs/bundles/Rx.js', included: true, watched: true},
28+
{pattern: 'node_modules/angular2/bundles/angular2-polyfills.js', included: true, watched: false},
29+
{pattern: 'node_modules/systemjs/dist/system.src.js', included: true, watched: false},
30+
{pattern: 'node_modules/rxjs/bundles/Rx.js', included: true, watched: false},
3131
'node_modules/reflect-metadata/Reflect.js',
32-
{pattern: 'node_modules/angular2/bundles/angular2.dev.js', included: true, watched: true},
33-
{pattern: 'node_modules/angular2/bundles/testing.dev.js', included: true, watched: true},
32+
{pattern: 'node_modules/angular2/bundles/angular2.dev.js', included: true, watched: false},
33+
{pattern: 'node_modules/angular2/bundles/testing.dev.js', included: true, watched: false},
3434

3535
{pattern: 'test/karma-test-shim.js', included: true, watched: true},
3636

0 commit comments

Comments
 (0)