Last active
December 15, 2015 13:36
-
-
Save vagusX/0be99afd52d82c492643 to your computer and use it in GitHub Desktop.
log about jest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running 1 test suite...Warning: React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components). | |
FAIL __tests__/checkbox-test.js (0.723s) | |
● Checkbox › it changes the text after click | |
- Error: Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. | |
at invariant (node_modules/react/node_modules/fbjs/lib/inva |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> [email protected] test /Users/vagusx/code/samples/barbecue.js | |
> NODE_ENV=test BABEL_JEST_STAGE=0 jest | |
Using Jest CLI v0.8.1, jasmine1 | |
FAIL __tests__/checkbox-test.js (0.802s) | |
● Checkbox › it changes the text after click | |
- TypeError: Cannot read property 'textContent' of null | |
at Spec.<anonymous> (__tests__/checkbox-test.js:18:24) | |
1 test failed, 0 tests passed (1 total in 1 test suite, run time 1.298s) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment