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
@@ -12,7 +12,9 @@ describe("Linear workspace logo", () => {
|
||||
expect(image).toHaveAttribute("height", "28");
|
||||
expect(image).toHaveAttribute("referrerpolicy", "no-referrer");
|
||||
expect(image.parentElement).toHaveClass("h-7", "w-7");
|
||||
expect(image.parentElement).not.toHaveClass("overflow-hidden", "bg-muted");
|
||||
for (const className of ["overflow-hidden", "bg-muted"]) {
|
||||
expect(image.parentElement).not.toHaveClass(className);
|
||||
}
|
||||
expect(image).toHaveClass("object-contain");
|
||||
expect(view.container.querySelector("svg")).toBeNull();
|
||||
fireEvent.error(image);
|
||||
|
||||
Reference in new issue
Block a user