From 519cb1bc7aa11bc4d48d948bfb144073f24e6240 Mon Sep 17 00:00:00 2001 From: Jordan Santell Date: Wed, 24 Sep 2025 09:33:17 -0700 Subject: [PATCH] chore: Use provided SPACE_NAME for list-operations.test.ts --- packages/patterns/integration/list-operations.test.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/packages/patterns/integration/list-operations.test.ts b/packages/patterns/integration/list-operations.test.ts index bb3e835da..76f40b073 100644 --- a/packages/patterns/integration/list-operations.test.ts +++ b/packages/patterns/integration/list-operations.test.ts @@ -15,16 +15,11 @@ describe("list-operations simple test", () => { let identity: Identity; let cc: CharmsController; let charm: CharmController; - let spaceName: string; beforeAll(async () => { identity = await Identity.generate({ implementation: "noble" }); - // Use a unique space name to avoid conflicts between test runs - spaceName = `${SPACE_NAME}-${Date.now()}-${ - Math.random().toString(36).slice(2) - }`; cc = await CharmsController.initialize({ - spaceName: spaceName, + spaceName: SPACE_NAME, apiUrl: new URL(API_URL), identity: identity, }); @@ -48,7 +43,7 @@ describe("list-operations simple test", () => { const page = shell.page(); await shell.goto({ frontendUrl: FRONTEND_URL, - spaceName: spaceName, + spaceName: SPACE_NAME, charmId: charm.id, identity, });