covering all javascript
This commit is contained in:
@@ -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; },
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user