9 lines
248 B
TypeScript
9 lines
248 B
TypeScript
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);
|
|
});
|