Skip to content

Commit 9055bc0

Browse files
committed
build: include mdc prebuilt theme in legacy karma tests
1 parent 5209786 commit 9055bc0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/karma.conf.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,18 @@ module.exports = config => {
5555
{pattern: 'test/karma-system-config.js', included: true, watched: false},
5656
{pattern: 'test/karma-test-shim.js', included: true, watched: false},
5757

58-
// Include a Material theme in the test suite.
58+
// Include a Material theme in the test suite. Also include the MDC theme as
59+
// karma runs tests for the mdc prototype component as well.
5960
{
6061
pattern: 'dist/packages/**/core/theming/prebuilt/indigo-pink.css',
6162
included: true,
6263
watched: true
6364
},
65+
{
66+
pattern: 'dist/packages/material-experimental/mdc-theming/prebuilt/indigo-pink.css',
67+
included: true,
68+
watched: true
69+
},
6470

6571
// Includes all package tests and source files into karma. Those files will be watched.
6672
// This pattern also matches all sourcemap files and TypeScript files for debugging.

0 commit comments

Comments
 (0)