From 0819db03185d00e2e2ef64c24f91fc6575765093 Mon Sep 17 00:00:00 2001
From: Alan Agius <17563226+alan-agius4@users.noreply.github.com>
Date: Mon, 9 Mar 2026 13:51:43 +0000
Subject: [PATCH] test: update tests to handle regexp to be case insensitive
Addresses https://github.com/angular/angular-cli/security/code-scanning/94
---
.../angular/build/src/utils/index-file/auto-csp_spec.ts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/packages/angular/build/src/utils/index-file/auto-csp_spec.ts b/packages/angular/build/src/utils/index-file/auto-csp_spec.ts
index 1ec5f2ab06aa..a1bfa179f07c 100644
--- a/packages/angular/build/src/utils/index-file/auto-csp_spec.ts
+++ b/packages/angular/build/src/utils/index-file/auto-csp_spec.ts
@@ -108,7 +108,7 @@ describe('auto-csp', () => {
// Head loader script is in the head.
expect(result).toContain(``);
// Only two loader scripts are created.
- expect(Array.from(result.matchAll(/`);
// Only one loader script is created.
- expect(Array.from(result.matchAll(/