refactor: enforce frontend view model boundaries
This commit is contained in:
@@ -12,6 +12,7 @@ describe("icon accessibility", () => {
|
||||
<Icon />
|
||||
</button>,
|
||||
);
|
||||
|
||||
expect(screen.queryByRole("img")).not.toBeInTheDocument();
|
||||
expect(
|
||||
// eslint-disable-next-line testing-library/no-node-access -- This assertion checks DOM structure, decoration or focus behavior that semantic queries cannot establish.
|
||||
|
||||
Reference in New Issue
Block a user