Skip to content

Commit 7c7c0ac

Browse files
alan-agius4clydin
authored andcommitted
test: update error-with-sourcemaps e2e tests to use sha
This commit updates the above mentioned tests to use SHA's when running in ng-snapshots mode. (cherry picked from commit 6c7c012)
1 parent 62d5138 commit 7c7c0ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/legacy-cli/e2e/tests/build/prerender/error-with-sourcemaps.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import { getGlobalVariable } from '../../../utils/env';
33
import { rimraf, writeMultipleFiles } from '../../../utils/fs';
44
import { match } from 'node:assert';
55
import { expectToFail } from '../../../utils/utils';
6+
import { useSha } from '../../../utils/project';
7+
import { installWorkspacePackages } from '../../../utils/packages';
68

79
export default async function () {
810
const useWebpackBuilder = !getGlobalVariable('argv')['esbuild'];
@@ -13,6 +15,8 @@ export default async function () {
1315
// Forcibly remove in case another test doesn't clean itself up.
1416
await rimraf('node_modules/@angular/ssr');
1517
await ng('add', '@angular/ssr', '--skip-confirmation');
18+
await useSha();
19+
await installWorkspacePackages();
1620

1721
await writeMultipleFiles({
1822
'src/app/app.component.ts': `

0 commit comments

Comments
 (0)