Skip to content

Commit 06591f3

Browse files
committed
fix lint
1 parent 1aef26b commit 06591f3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/__tests__/render-async.test.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,6 @@ test('rerenderAsync function updates component asynchronously', async () => {
8181
expect(fn).toHaveBeenCalledTimes(1);
8282
});
8383

84-
test('rerender function throws error when used with renderAsync', async () => {
85-
const result = await renderAsync(<Banana />);
86-
87-
expect(() => result.rerender(<Banana />)).toThrowErrorMatchingInlineSnapshot(
88-
`"\`rerender(...)\` is not supported when using \`renderAsync\` use \`await rerenderAsync(...)\` instead"`,
89-
);
90-
});
91-
9284
test('unmount function throws error when used with renderAsync', async () => {
9385
const result = await renderAsync(<Banana />);
9486

0 commit comments

Comments
 (0)