From 255ffbae553efc102203fa90d449ca835e04aae5 Mon Sep 17 00:00:00 2001 From: kichang Date: Sat, 14 Nov 2020 16:11:51 +0900 Subject: [PATCH] App.js testing --- frontend/src/App.js | 2 +- frontend/src/App.test.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/App.js b/frontend/src/App.js index 6599ac2..22c93e9 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -12,7 +12,7 @@ function App() { -

Not Found

} /> + {/*

Not Found

} /> */} diff --git a/frontend/src/App.test.js b/frontend/src/App.test.js index ff832de..eae34cd 100644 --- a/frontend/src/App.test.js +++ b/frontend/src/App.test.js @@ -3,9 +3,11 @@ import ReactDOM from 'react-dom'; import App from './App'; import { Provider } from 'react-redux'; import store from './store/store'; +import { createMemoryHistory } from 'history'; + it('renders without crashing', () => { const div = document.createElement('div'); ReactDOM.render(, div); ReactDOM.unmountComponentAtNode(div); -}); \ No newline at end of file +});