From e413628221c1b8615bdc0eb4d7d27fbb46d3145e Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Wed, 12 Apr 2017 10:22:24 -0700 Subject: [PATCH] build: fix karma pattern warnings * Fixes the karma pattern warnings. Those showed up because there was a pattern that included all files (and watched them). --- test/karma.conf.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/karma.conf.js b/test/karma.conf.js index acf547ae5d2e..27d1a864fda1 100644 --- a/test/karma.conf.js +++ b/test/karma.conf.js @@ -35,9 +35,10 @@ module.exports = (config) => { // Include a Material theme in the test suite. {pattern: 'dist/**/core/theming/prebuilt/indigo-pink.css', included: true, watched: true}, - {pattern: 'dist/packages/material/**/*', included: false, watched: true}, + // Includes Material spec and source files into karma. Those files will be watched. + {pattern: 'dist/packages/material/**/*.js', included: false, watched: true}, - // paths to support debugging with source maps in dev tools + // Paths to support debugging with source maps in dev tools {pattern: 'dist/**/*.ts', included: false, watched: false}, {pattern: 'dist/**/*.js.map', included: false, watched: false} ],