ava-snapshot-example icon indicating copy to clipboard operation
ava-snapshot-example copied to clipboard

`npm test` is not working

Open gtarsia opened this issue 6 years ago • 1 comments

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.

gtarsia avatar Apr 04 '19 16:04 gtarsia

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.

novemberborn avatar Apr 06 '19 14:04 novemberborn