mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
10 lines
257 B
JavaScript
10 lines
257 B
JavaScript
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
import App from './App';
|
|
|
|
it('renders without crashing', () => {
|
|
const div = document.createElement('div');
|
|
ReactDOM.render(<App />, div);
|
|
ReactDOM.unmountComponentAtNode(div);
|
|
});
|