Skip to content

Commit 3545df7

Browse files
devversionjelbourn
authored andcommitted
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).
1 parent 9d719c5 commit 3545df7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/karma.conf.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@ module.exports = (config) => {
3535
// Include a Material theme in the test suite.
3636
{pattern: 'dist/**/core/theming/prebuilt/indigo-pink.css', included: true, watched: true},
3737

38-
{pattern: 'dist/packages/material/**/*', included: false, watched: true},
38+
// Includes Material spec and source files into karma. Those files will be watched.
39+
{pattern: 'dist/packages/material/**/*.js', included: false, watched: true},
3940

40-
// paths to support debugging with source maps in dev tools
41+
// Paths to support debugging with source maps in dev tools
4142
{pattern: 'dist/**/*.ts', included: false, watched: false},
4243
{pattern: 'dist/**/*.js.map', included: false, watched: false}
4344
],

0 commit comments

Comments
 (0)