Skip to content

Commit 4f10354

Browse files
filipesilvaMRHarrison
authored andcommitted
chore(tests): fix filename test (angular#3051)
1 parent 07c9d3a commit 4f10354

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/e2e/tests/build/filename.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
import {ng} from '../../utils/process';
22
import {expectFileToExist} from '../../utils/fs';
33
import {updateJsonFile} from '../../utils/project';
4+
import {copyFile} from '../../utils/fs';
45

56

67
export default function() {
78
return Promise.resolve()
9+
.then(() => copyFile('src/index.html', 'src/config-index.html'))
810
.then(() => updateJsonFile('angular-cli.json', configJson => {
911
const app = configJson['apps'][0];
1012
app['outDir'] = 'config-build-output';

0 commit comments

Comments
 (0)