This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
react
Watch
0
Star
0
Fork
You've already forked react
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
a8b6c8292b
react
/
scripts
/
jest
/
environment.js
3 lines
37 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Upgrade ESLint, fix code
2015-08-11 07:44:38 +08:00
/* eslint-disable */
Add configuration for running tests with Jest Can be run with `node_modules/.bin/jest` for now; didn't want to disturb the grunt setup. Right now one test fails with: ``` FAIL browser/ui/__tests__/ReactDOMComponent-test.js (1.423s) ● ReactDOMComponent › updateDOM › it should update styles when mutating style object - Expected: '0' toEqual: '0.5' at Spec.<anonymous> (src/browser/ui/__tests__/ReactDOMComponent-test.js:99:33) ``` which I can only assume is a jsdom problem -- no other asserts fail.
2014-05-13 15:40:29 +08:00
_
_DEV
_
_
=
true
;