Skip to content

Commit

Permalink
build: fix karma pattern warnings (#4057)
Browse files Browse the repository at this point in the history
* Fixes the karma pattern warnings. Those showed up because there was a pattern that included all files (and watched them).
  • Loading branch information
devversion authored and jelbourn committed Apr 12, 2017
1 parent 9d719c5 commit 3545df7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
],
Expand Down

0 comments on commit 3545df7

Please sign in to comment.