Skip to content

Commit

Permalink
test: update error-with-sourcemaps e2e tests to use sha
Browse files Browse the repository at this point in the history
This commit updates the above mentioned tests to use SHA's when running in ng-snapshots mode.

(cherry picked from commit 6c7c012)
  • Loading branch information
alan-agius4 authored and clydin committed Nov 20, 2023
1 parent 62d5138 commit 7c7c0ac
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { getGlobalVariable } from '../../../utils/env';
import { rimraf, writeMultipleFiles } from '../../../utils/fs';
import { match } from 'node:assert';
import { expectToFail } from '../../../utils/utils';
import { useSha } from '../../../utils/project';
import { installWorkspacePackages } from '../../../utils/packages';

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

await writeMultipleFiles({
'src/app/app.component.ts': `
Expand Down

0 comments on commit 7c7c0ac

Please sign in to comment.