Skip to content

Commit b4641d4

Browse files
committed
validate fix
1 parent 0274b14 commit b4641d4

File tree

2 files changed

+743
-775
lines changed

2 files changed

+743
-775
lines changed

examples/cookbook/basics-tutorial/5-screen-object.test.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ describe('Greeting', () => {
6767

6868
// After unmounting, queries should throw an error
6969
// This ensures the component is properly cleaned up
70-
expect(() => screen.getByText('Hello, John!')).toThrowErrorMatchingInlineSnapshot(`"Cannot access .container on unmounted test renderer"`);
70+
expect(() => screen.getByText('Hello, John!')).toThrowErrorMatchingInlineSnapshot(
71+
`"Cannot access .container on unmounted test renderer"`,
72+
);
7173
});
7274
});
7375

0 commit comments

Comments
 (0)