Skip to content

Commit c94e6fb

Browse files
clydindgp1130
authored andcommitted
test: change prod-build E2E bootstrap check to allow underscore in variable name
1 parent bc3ce03 commit c94e6fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/legacy-cli/e2e/tests/build/prod-build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default async function () {
2727

2828
// Can't use the `ng` helper because somewhere the environment gets
2929
// stuck to the first build done
30-
const bootstrapRegExp = /bootstrapModule\([a-zA-Z]+[0-9]*\)\./;
30+
const bootstrapRegExp = /bootstrapModule\([_a-zA-Z]+[0-9]*\)\./;
3131

3232
await noSilentNg('build');
3333
await expectFileToExist(join(process.cwd(), 'dist'));

0 commit comments

Comments
 (0)