dillon1000/react
Commit
Browse files Fix ES6Class test so it runs in browsers
document.createElement throws an error if you don't pass it any arguments. Neither PhantomJS nor jest (via jsdom at version jest is using) behave as browsers do now so this went unnoticed.
Changed paths1 file
First-parent comparisonsrc/modern/class/__tests__/ReactES6Class-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…