Skip to content

Commit 2686d91

Browse files
committed
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.
1 parent b33678e commit 2686d91

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/testing/builder/src/jasmine-helpers.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ export function describeBuilder<T>(
4040
optionSchema,
4141
});
4242

43+
// This is needed as there are multiple describe calls for the same builder.
44+
jasmine.getEnv().configure({ forbidDuplicateNames: false });
45+
4346
describe(options.name || builderHandler.name, () => {
4447
beforeEach(async () => {
4548
harness.resetProjectMetadata();

0 commit comments

Comments
 (0)