Skip to content

Commit 149f52c

Browse files
committed
fix app test
1 parent 2cf0d37 commit 149f52c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/dev/src/App.test.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
import { createRoot } from 'react-dom';
1+
import { createRoot } from 'react-dom/client';
22
import App from './AppContext';
33

44
it('renders without crashing', () => {
55
const div = document.createElement('div');
66
const root = createRoot(div);
77
root.render(<App />);
8-
const root = createRoot(div);
98
root.unmount();
109
});

0 commit comments

Comments
 (0)