Skip to content
This repository has been archived by the owner on Aug 8, 2020. It is now read-only.

npm test is not working #1

Open
gtarsia opened this issue Apr 4, 2019 · 1 comment
Open

npm test is not working #1

gtarsia opened this issue Apr 4, 2019 · 1 comment

Comments

@gtarsia
Copy link

gtarsia commented Apr 4, 2019

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.

@novemberborn
Copy link
Member

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants