Skip to content

Commit 518570b

Browse files
committed
test: update prod-build E2E test to handle esbuild output
``` bootstrapModule($a).catch(e=>console.error(e)); ``` (cherry picked from commit 325990f)
1 parent 1335a45 commit 518570b

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function verifySize(bundle: string, baselineBytes: number) {
2626
export default async function () {
2727
// Can't use the `ng` helper because somewhere the environment gets
2828
// stuck to the first build done
29-
const bootstrapRegExp = /bootstrapModule\([_a-zA-Z]+[0-9]*\)\./;
29+
const bootstrapRegExp = /bootstrapModule\([\$_a-zA-Z]+[0-9]*\)\./;
3030

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

0 commit comments

Comments
 (0)