ava-snapshot-example
ava-snapshot-example copied to clipboard
`npm test` is not working
Situation:
Running the
$ git clone https://github.com/avajs/ava-snapshot-example && cd ava-snapshot-example && npm install
and
npm test
Expected: Seeing snapshots at work
Actual:
> @ test /home/romigui/git/ava-snapshot-example
> ava
✖ Unexpected Babel configuration for AVA. See https://github.com/avajs/ava/blob/v1.4.1/docs/recipes/babel.md for allowed values.
npm ERR! Test failed. See above for more details.
I tried to fix it without success. Thank you for your work.
Yes that's a little outdated, sorry about that.
The "babel": "inherit" option can be removed from the AVA config. The @ava/stage-4 preset could be changed to ava/stage-4 with the dependency removed. Would be good to update the other dependencies too.