| changeset 8 | 6f572b6b6be3 |
| parent 3 | 3b5d37d84cfe |
| child 168 | ea92f4fe783d |
--- a/client/src/__tests__/App.test.js Tue May 23 17:47:59 2017 +0200 +++ b/client/src/__tests__/App.test.js Wed May 31 18:08:22 2017 +0200 @@ -5,6 +5,14 @@ import App from '../App'; import configureStore from '../store/configureStore'; +beforeAll(() => { + window.getSelection = () => { + return { + removeAllRanges: () => {} + }; + }; +}); + const store = configureStore(); it('renders without crashing', () => {