Comments (4)
Removed .babelrc in the parent directory as suggested here facebook/create-react-app#949 (comment)
Now jest said there was no files to test, I figured out files with "Example" key word were ignored, renamed EveryExample.test.js to Every.test.js and the file was added to the tests.
from react-event-components.
Each test file is failing because Cannot find module 'extsprintf'
from react-event-components.
I fixed a syntax error in KeyDownExample.test.js and EveryExample.test.js, now extsprintf isn't the problem.
from react-event-components.
The only problem now is that we need to mock some resources! https://facebook.github.io/jest/docs/manual-mocks.html
investigation will continue at #23
from react-event-components.
Related Issues (15)
- unsubscribe the event handler on unmount HOT 4
- Which components are we missing? HOT 1
- Cannot use this package from npm with create-react-app HOT 4
- Which keyworks should we put in the package.json? HOT 1
- Improve code coverage HOT 2
- React.PropTypes is deprecated since React 15.5.0, use the npm module prop-types instead react/no-deprecated
- WindowResize example does not make sense
- Please make a new release HOT 2
- KeyDown modifier keys HOT 1
- Update dev dependencies HOT 2
- [fix] pass entire event to do callback so we can prevent default
- Can we elect a maintainer?
- `do` is a reserved word in javascript HOT 13
- Multiple keys pressed at once support HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-event-components.