fixing tests for changed bookmark

This commit is contained in:
Benjamin Boudreau
2018-06-09 09:13:49 -04:00
parent 81517491d5
commit bf5c6d597a
5 changed files with 12 additions and 8 deletions

View File

@@ -4,7 +4,8 @@ import Adapter from 'enzyme-adapter-react-16';
Enzyme.configure({ adapter: new Adapter() });
Object.defineProperty(document, 'readyState', {
val: 'complete',
get() { return this.val; },
set(s) { this.val = s; },
value: 'complete',
writable: true,
enumerable: true,
configurable: true,
});