test: harden housekeeping shell contracts
This commit is contained in:
1 parent
addc9c7b1a
commit
52ec48ffe4
3 files changed
+153
-54
No files matched your search
@@ -40,7 +40,8 @@ describe("HousekeepingPageState", () => {
|
||||
);
|
||||
|
||||
expect(loading).toContain('aria-live="polite"');
|
||||
expect(partial).toContain('data-state-tone="warning"');
|
||||
expect(partial).toContain("--admin-warning-border");
|
||||
expect(partial).toContain("--admin-warning-subtle");
|
||||
expect(partial).toContain(">Partial title<");
|
||||
});
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ export function HousekeepingPageState({
|
||||
isError
|
||||
? "border-[var(--admin-error)] bg-[var(--admin-surface)]"
|
||||
: isPartial
|
||||
? "border-[var(--admin-warning)] bg-[var(--admin-surface)]"
|
||||
? "border-[var(--admin-warning-border)] bg-[var(--admin-warning-subtle)]"
|
||||
: "border-[var(--admin-border)] bg-[var(--admin-surface)]"
|
||||
}`}
|
||||
>
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user