test: add integration test for lazy chunks in cli apps using experimentalRollupPass (#32957)

PR Close #32957
This commit is contained in:
Filipe Silva
2019-10-15 15:15:19 +01:00
committed by Matias Niemelä
parent 609d2557bc
commit 6471a2668e
40 changed files with 21691 additions and 0 deletions

View File

@ -0,0 +1,20 @@
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
import 'zone.js/dist/zone-testing';
import { getTestBed } from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';
declare const require: any;
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().map(context);