Skip to content

build: add mdc prebuilt theme to karma legacy tests #16965

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion test/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,18 @@ module.exports = config => {
{pattern: 'test/karma-system-config.js', included: true, watched: false},
{pattern: 'test/karma-test-shim.js', included: true, watched: false},

// Include a Material theme in the test suite.
// Include a Material theme in the test suite. Also include the MDC theme as
// karma runs tests for the MDC prototype components as well.
{
pattern: 'dist/packages/**/core/theming/prebuilt/indigo-pink.css',
included: true,
watched: true
},
{
pattern: 'dist/packages/material-experimental/mdc-theming/prebuilt/indigo-pink.css',
included: true,
watched: true
},

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