From 3545df7c4f2c527e4db93ee217a75b68711624ca Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Wed, 12 Apr 2017 14:19:14 -0700 Subject: [PATCH] build: fix karma pattern warnings (#4057) * 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 acf547ae5d2..27d1a864fda 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} ],