test: include all of the necessary CSS in unit tests (#2367)

Includes the missing theme CSS in the unit tests and removes some of the styles that were used to simulate it.

Fixes #2358.
This commit is contained in:
Kristiyan Kostadinov
2016-12-23 20:30:30 +02:00
committed by Jeremy Elbourn
parent c43b171113
commit 38700e056b
4 changed files with 19 additions and 74 deletions
+3 -1
View File
@@ -29,12 +29,14 @@ export function config(config) {
{pattern: 'dist/vendor/zone.js/dist/async-test.js', included: true, watched: false},
{pattern: 'dist/vendor/zone.js/dist/fake-async-test.js', included: true, watched: false},
{pattern: 'dist/vendor/hammerjs/hammer.min.js', included: true, watched: false},
{pattern: 'test/karma-test-shim.js', included: true, watched: false},
// paths loaded via module imports
{pattern: 'dist/**/*.js', included: false, watched: true},
// include one of the themes
{pattern: 'dist/**/prebuilt/indigo-pink.css', included: true, watched: true},
// paths loaded via Angular's component compiler
// (these paths need to be rewritten, see proxies section)
{pattern: 'dist/**/*.html', included: false, watched: true},