vendredi 13 octobre 2017

How to get NYC working with Node without babel

  • Node 8.6.0
  • NYC 11.2.1
  • Mocha 4.0.1

km@Karls-MBP ~/dev/main (master) $ node_modules/.bin/nyc node_modules/.bin/mocha //.. tests are done and completed here ----------|----------|----------|----------|----------|----------------| File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines | ----------|----------|----------|----------|----------|----------------| All files | Unknown | Unknown | Unknown | Unknown | | ----------|----------|----------|----------|----------|----------------|

So my files contain some ES6 stuff like const, let, async () => etc..

This works in Node without Babel. I'm wondering what i'm doing wrong here with NYC?

Aucun commentaire:

Enregistrer un commentaire