test: replace false-green checks with behavioral coverage (#6282)
* test: replace false-green checks with behavioral coverage * test: complete behavior-focused audit coverage
This commit is contained in:
1 parent
c7ab7aa6da
commit
74942bd190
91 files changed
+1891
-1391
No files matched your search
@@ -17,10 +17,12 @@ describe("form control focus styles", () => {
|
||||
"focus-visible:ring-inset",
|
||||
"focus-visible:ring-ring/50",
|
||||
);
|
||||
expect(element).not.toHaveClass(
|
||||
for (const className of [
|
||||
"ring-offset-background",
|
||||
"focus-visible:ring-ring",
|
||||
"focus-visible:ring-offset-2",
|
||||
);
|
||||
]) {
|
||||
expect(element).not.toHaveClass(className);
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user