initial commit of test file
This commit is contained in:
parent
c86238b344
commit
ee1dfa04a8
13
packages/components/calendar/calendar.test.js
Normal file
13
packages/components/calendar/calendar.test.js
Normal file
@ -0,0 +1,13 @@
|
||||
import { unmountComponentAtNode } from "react-dom";
|
||||
|
||||
let container = null;
|
||||
beforeEach(() => {
|
||||
container = document.createElement("div");
|
||||
document.body.appendChild(container);
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
unmountComponentAtNode(container);
|
||||
container.remove();
|
||||
container = null;
|
||||
});
|
Loading…
Reference in New Issue
Block a user