From 2686d91199b454287bc6c0da444437a5bf7679b3 Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Wed, 4 Feb 2026 09:44:53 +0000 Subject: [PATCH] build: configure Jasmine to allow duplicate describe block names This is needed as there are duplicate describe calls for the same builder, which is not allowed in Jasmine 6. --- modules/testing/builder/src/jasmine-helpers.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/testing/builder/src/jasmine-helpers.ts b/modules/testing/builder/src/jasmine-helpers.ts index b31f2e273333..eb48f8b8dbbc 100644 --- a/modules/testing/builder/src/jasmine-helpers.ts +++ b/modules/testing/builder/src/jasmine-helpers.ts @@ -40,6 +40,9 @@ export function describeBuilder( optionSchema, }); + // This is needed as there are multiple describe calls for the same builder. + jasmine.getEnv().configure({ forbidDuplicateNames: false }); + describe(options.name || builderHandler.name, () => { beforeEach(async () => { harness.resetProjectMetadata();