style(web): format workspace layout test

This commit is contained in:
dadachann
2026-07-25 21:04:23 +08:00
parent 59f68b8fb4
commit 40abb03928
@@ -70,7 +70,10 @@ test('links Cloud workspace managers to the Space member invitation surface', ()
test('keeps workspace plan and settings controls on the workspace row', () => { test('keeps workspace plan and settings controls on the workspace row', () => {
assert.match(workspaceSwitcherSource, /entry\.plan_name/); assert.match(workspaceSwitcherSource, /entry\.plan_name/);
assert.match(workspaceSwitcherSource, /aria-label=\{t\('workspace\.settings'\)\}/); assert.match(
workspaceSwitcherSource,
/aria-label=\{t\('workspace\.settings'\)\}/,
);
assert.match(workspaceSwitcherSource, /className="size-8"/); assert.match(workspaceSwitcherSource, /className="size-8"/);
assert.doesNotMatch(workspaceSwitcherSource, /workspace\.currentPlan/); assert.doesNotMatch(workspaceSwitcherSource, /workspace\.currentPlan/);
assert.doesNotMatch(workspaceSwitcherSource, /workspace\.upgradePlan/); assert.doesNotMatch(workspaceSwitcherSource, /workspace\.upgradePlan/);