covering all javascript

This commit is contained in:
Benjamin Boudreau
2018-06-03 14:28:12 -04:00
parent afc2709742
commit e5c61ce998
10 changed files with 335 additions and 1966 deletions

View File

@@ -1,4 +1,10 @@
import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
Enzyme.configure({ adapter: new Adapter() });
Enzyme.configure({ adapter: new Adapter() });
Object.defineProperty(document, 'readyState', {
val: 'complete',
get() { return this.val; },
set(s) { this.val = s; },
});