docs(aio): Fix failing boilerplate tests (#23234)

PR Close #23234
This commit is contained in:
Brandon Roberts 2018-04-15 21:24:29 -05:00 committed by Jason Aden
parent 2278fe8f0e
commit 1f005908a4
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ describe('example-boilerplate tool', () => {
const sharedDir = path.resolve(__dirname, 'shared');
const sharedNodeModulesDir = path.resolve(sharedDir, 'node_modules');
const BPFiles = {
cli: 18,
cli: 19,
i18n: 1,
universal: 2,
systemjs: 7,
@ -84,7 +84,7 @@ describe('example-boilerplate tool', () => {
(BPFiles.common * exampleFolders.length)
);
// for example
expect(exampleBoilerPlate.copyFile).toHaveBeenCalledWith(`${boilerplateDir}/i18n`, 'a/b', '../cli/.angular-cli.json');
expect(exampleBoilerPlate.copyFile).toHaveBeenCalledWith(`${boilerplateDir}/i18n`, 'a/b', '../cli/angular.json');
expect(exampleBoilerPlate.copyFile).toHaveBeenCalledWith(`${boilerplateDir}/i18n`, 'a/b', 'package.json');
expect(exampleBoilerPlate.copyFile).toHaveBeenCalledWith(`${boilerplateDir}/common`, 'c/d', 'src/styles.css');
});