Skip to content

Commit ff87e05

Browse files
alan-agius4vikerman
authored andcommitted
test: update regexp prod build bootstrapModule call
1 parent 7802504 commit ff87e05

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 ivyProject = argv['ivy'];
3535
const bootstrapRegExp = ivyProject
36-
? /bootstrapModule\([$]?[a-zA-Z]+\)\./
37-
: /bootstrapModuleFactory\([$]?[a-zA-Z]+\)\./;
36+
? /bootstrapModule\(.?[a-zA-Z]+\)\./
37+
: /bootstrapModuleFactory\(.?[a-zA-Z]+\)\./;
3838

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

0 commit comments

Comments
 (0)