Skip to content

Commit a9df5fd

Browse files
alan-agius4vikerman
authored andcommitted
test: update regexp prod build bootstrapModule call
1 parent 77c4d4a commit a9df5fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ export default async function () {
3333
const argv = getGlobalVariable('argv');
3434
const veProject = argv['ve'];
3535
const bootstrapRegExp = veProject
36-
? /bootstrapModuleFactory\([$]?[a-zA-Z]+\)\./
37-
: /bootstrapModule\([$]?[a-zA-Z]+\)\./;
36+
? /bootstrapModuleFactory\(.?[a-zA-Z]+\)\./
37+
: /bootstrapModule\(.?[a-zA-Z]+\)\./;
3838

3939
await ng('build', '--prod');
4040
await expectFileToExist(join(process.cwd(), 'dist'));

0 commit comments

Comments
 (0)