Skip to content

Commit 1f338b8

Browse files
committed
test(@angular/build): expect JSON-encoded type in autoCsp SRI loader
1 parent 81795e0 commit 1f338b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/angular/build/src/builders/application/tests/options/subresource-integrity_spec.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ describeBuilder(buildApplication, APPLICATION_BUILDER_INFO, (harness) => {
251251

252252
const indexHtml = harness.readFile('dist/browser/index.html');
253253
expect(indexHtml).toMatch(
254-
/const scripts = \[\[(?:'[^']+', 'module', false, false, "sha384-[^"]+", "anonymous"(?:, )?)+\]\];/,
254+
/const scripts = \[\[(?:'[^']+', "module", false, false, "sha384-[^"]+", "anonymous"(?:, )?)+\]\];/,
255255
);
256256
});
257257
});

0 commit comments

Comments
 (0)