docs: fix example "testing" app compilation (#30427)

PR Close #30427
This commit is contained in:
Jimmy Kasprzak
2019-05-12 20:12:17 +02:00
committed by Jason Aden
parent 8555016eec
commit 3a8f74e392
4 changed files with 49 additions and 3 deletions

View File

@ -35,7 +35,12 @@ BOILERPLATE_PATHS.i18n = [...cliRelativePath, 'angular.json', 'package.json'];
BOILERPLATE_PATHS['service-worker'] = [...cliRelativePath, 'angular.json', 'package.json'];
BOILERPLATE_PATHS.testing = [...cliRelativePath, 'angular.json'];
BOILERPLATE_PATHS.testing = [
...cliRelativePath,
'angular.json',
'src/tsconfig.app.json',
'src/tsconfig.spec.json'
];
BOILERPLATE_PATHS.universal = [...cliRelativePath, 'angular.json', 'package.json'];
@ -93,7 +98,7 @@ class ExampleBoilerPlate {
// Copy the boilerplate common files
const useCommonBoilerplate = exampleConfig.useCommonBoilerplate !== false;
if (useCommonBoilerplate) {
BOILERPLATE_PATHS.common.forEach(filePath => this.copyFile(BOILERPLATE_COMMON_BASE_PATH, exampleFolder, filePath));
}