test(plugins): the project-switch spec expects the other project's metadata to be empty

This commit is contained in:
Mohamed Boudra
2026-11-02 09:50:47 +01:00
parent 4b0d5f5e4c
commit 16b843949e
@@ -59,7 +59,7 @@ test("a branch and metadata chosen for one project are not sent for another", as
await screen.switchToOtherProject();
const created = await screen.createWorkspace();
expect(created.branch).not.toBe("pas-101-slow-sidebar");
expect(JSON.stringify(created.metadata ?? {})).not.toContain("PAS-101");
expect(created.metadata ?? {}).toEqual({});
},
);
});