Jest Render Target Container bukan elemen DOM
const root = document.createElement('div');
beforeEach(() => {
document.body.appendChild(root);
const content = (
<Provider store={store}>
<App/>
</Provider>
);
render(
content,
root
);
});
Davidosky