kentcdodds / react-ava-workshop

:tiger: A workshop repository for testing React ⚛ with AVA :rocket: --> slides
http://kcd.im/react-ava
MIT License
190 stars 19 forks source link

latest deps #9

Closed bsr203 closed 8 years ago

bsr203 commented 8 years ago

just cloning and running gave below error

~/t/react-ava-workshop ❯❯❯ npm test                                                                                                                           ⏎ master

> react-ava-workshop@1.0.0 test /Users/bsr/tmp/react-ava-workshop
> ava "app/**/*.test.js" --verbose

Uncaught Exception: /Users/bsr/tmp/react-ava-workshop/app/components/Toggle.test.js
  TypeError: Path must be a string. Received undefined
    at assertPath (path.js:7:11)
    at Object.dirname (path.js:1324:5)
    at /Users/bsr/tmp/react-ava-workshop/node_modules/babel-core/lib/transformation/file/options/option-manager.js:353:36
    at /Users/bsr/tmp/react-ava-workshop/node_modules/babel-core/lib/transformation/file/options/option-manager.js:375:22
    at Array.map (native)
    at OptionManager.resolvePresets (/Users/bsr/tmp/react-ava-workshop/node_modules/babel-core/lib/transformation/file/options/option-manager.js:364:20)
    at OptionManager.mergePresets (/Users/bsr/tmp/react-ava-workshop/node_modules/babel-core/lib/transformation/file/options/option-manager.js:348:10)
    at OptionManager.mergeOptions (/Users/bsr/tmp/react-ava-workshop/node_modules/babel-core/lib/transformation/file/options/option-manager.js:307:14)
npm ERR! Test failed.  See above for more details.

which has been solved by updating deps to latest.

kentcdodds commented 8 years ago

Cool! Let me give this a look, thanks!

kentcdodds commented 8 years ago

LGTM!