@@ -9,75 +9,9 @@ jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000;
99
1010__karma__ . loaded = function ( ) { } ;
1111
12- var baseDir = '/base' ;
1312var specFiles = Object . keys ( window . __karma__ . files ) . filter ( isSpecFile ) ;
1413
15- // Configure the base path and map the different node packages.
16- System . config ( {
17- baseURL : baseDir ,
18- paths : {
19- 'node:*' : 'node_modules/*'
20- } ,
21- map : {
22- 'rxjs' : 'node:rxjs' ,
23- 'main' : 'main.js' ,
24- 'tslib' : 'node:tslib/tslib.js' ,
25-
26- // Angular specific mappings.
27- '@angular/core' : 'node:@angular/core/bundles/core.umd.js' ,
28- '@angular/core/testing' : 'node:@angular/core/bundles/core-testing.umd.js' ,
29- '@angular/common' : 'node:@angular/common/bundles/common.umd.js' ,
30- '@angular/common/testing' : 'node:@angular/common/bundles/common-testing.umd.js' ,
31- '@angular/common/http' : 'node:@angular/common/bundles/common-http.umd.js' ,
32- '@angular/common/http/testing' : 'node:@angular/common/bundles/common-http-testing.umd.js' ,
33- '@angular/compiler' : 'node:@angular/compiler/bundles/compiler.umd.js' ,
34- '@angular/compiler/testing' : 'node:@angular/compiler/bundles/compiler-testing.umd.js' ,
35- '@angular/http' : 'node:@angular/http/bundles/http.umd.js' ,
36- '@angular/http/testing' : 'node:@angular/http/bundles/http-testing.umd.js' ,
37- '@angular/forms' : 'node:@angular/forms/bundles/forms.umd.js' ,
38- '@angular/forms/testing' : 'node:@angular/forms/bundles/forms-testing.umd.js' ,
39- '@angular/animations' : 'node:@angular/animations/bundles/animations.umd.js' ,
40- '@angular/animations/browser' : 'node:@angular/animations/bundles/animations-browser.umd.js' ,
41- '@angular/platform-browser/animations' :
42- 'node:@angular/platform-browser/bundles/platform-browser-animations.umd' ,
43- '@angular/platform-browser' :
44- 'node:@angular/platform-browser/bundles/platform-browser.umd.js' ,
45- '@angular/platform-browser/testing' :
46- 'node:@angular/platform-browser/bundles/platform-browser-testing.umd.js' ,
47- '@angular/platform-browser-dynamic' :
48- 'node:@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js' ,
49- '@angular/platform-browser-dynamic/testing' :
50- 'node:@angular/platform-browser-dynamic/bundles/platform-browser-dynamic-testing.umd.js' ,
51-
52- '@angular/material/button' : 'node:@angular/material/bundles/material-button.umd.js' ,
53- '@angular/material/core' : 'node:@angular/material/bundles/material-core.umd.js' ,
54- '@angular/cdk' : 'node:@angular/cdk/bundles/cdk.umd.js' ,
55- '@angular/cdk/a11y' : 'node:@angular/cdk/bundles/cdk-a11y.umd.js' ,
56- '@angular/cdk/bidi' : 'node:@angular/cdk/bundles/cdk-bidi.umd.js' ,
57- '@angular/cdk/coercion' : 'node:@angular/cdk/bundles/cdk-coercion.umd.js' ,
58- '@angular/cdk/keycodes' : 'node:@angular/cdk/bundles/cdk-keycodes.umd.js' ,
59- '@angular/cdk/platform' : 'node:@angular/cdk/bundles/cdk-platform.umd.js' ,
60-
61- // Path mappings for local packages that can be imported inside of tests.
62- '@angular/flex-layout' : 'dist/packages/flex-layout/index.js' ,
63- '@angular/flex-layout/core' : 'dist/packages/flex-layout/core/index.js' ,
64- '@angular/flex-layout/extended' : 'dist/packages/flex-layout/extended/index.js' ,
65- '@angular/flex-layout/flex' : 'dist/packages/flex-layout/flex/index.js' ,
66- '@angular/flex-layout/grid' : 'dist/packages/flex-layout/grid/index.js' ,
67- '@angular/flex-layout/server' : 'dist/packages/flex-layout/server/index.js' ,
68- } ,
69- packages : {
70- // Thirdparty barrels.
71- 'rxjs' : { main : 'index' } ,
72- 'rxjs/operators' : { main : 'index' } ,
73-
74- // Set the default extension for the root package, because otherwise the demo-app can't
75- // be built within the production mode. Due to missing file extensions.
76- '.' : {
77- defaultExtension : 'js'
78- }
79- }
80- } ) ;
14+
8115
8216// Configure the Angular test bed and run all specs once configured.
8317configureTestBed ( )
0 commit comments