Skip to content

Commit

Permalink
test(ssr): remove async from the main test function
Browse files Browse the repository at this point in the history
  • Loading branch information
NaamuKim committed Oct 2, 2023
1 parent d2bfd2a commit d1b1060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ssr.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function Counter() {

describe.skipIf(!React.version.startsWith('18'))(
'ssr behavior with react 18',
async () => {
() => {
it('should handle different states between server and client correctly', async () => {
const { hydrateRoot } = await vi.importActual<
typeof import('react-dom/client')
Expand Down

0 comments on commit d1b1060

Please sign in to comment.