File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 44cache :
55 directories :
66 - node_modules
7- script : npm run test:compat
7+ script : npm run test:compat && npm run test:hook
88after_success :
99 - bash <(curl -s https://codecov.io/bash) -e TRAVIS_NODE_VERSION
Original file line number Diff line number Diff line change 2727 ],
2828 "scripts" : {
2929 "build" : " rimraf lib && babel src -d lib --ignore '**/*spec.js'" ,
30- "test" : " jest src" ,
30+ "test" : " jest src/spec.js " ,
3131 "test:watch" : " npm run test -- --watch" ,
3232 "test:compat" : " npm run test:backwards && npm run test:forwards && npm run test:latest" ,
3333 "test:backwards" : " npm i react@16.3.1 react-dom@16.3.1 && npm test" ,
3434 "test:forwards" : " npm i react@next react-dom@next && npm test" ,
3535 "test:latest" : " npm i react@latest react-dom@latest && npm test" ,
36+ "test:hook" : " npm i react@16.7.0-alpha.0 react-dom@16.7.0-alpha.0 && jest src/useAsync.spec.js" ,
3637 "prepublishOnly" : " npm run test:compat && npm run build"
3738 },
3839 "dependencies" : {},
You can’t perform that action at this time.
0 commit comments