change jsx to tsx
This commit is contained in:
committed by
Fredrik Adelöw
parent
8c816f2828
commit
6480278da9
+3
-1
@@ -34,7 +34,9 @@ describe('<Button />', () => {
|
||||
);
|
||||
|
||||
expect(() => getByText(testString)).toThrow();
|
||||
await act(async () => fireEvent.click(getByText(buttonLabel)));
|
||||
await act(async () => {
|
||||
fireEvent.click(getByText(buttonLabel));
|
||||
});
|
||||
expect(getByText(testString)).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user