samedi 12 août 2017

Testing with QUnit, "Unexpected token import"

I am trying to run QUnit for testing an action in my react-redux app. But when I load my action file, it shows "Unexpected token import" in the console and does not run the test.

I understand that import from ES6 is causing it.

How do I run QUnit without changing my action in the redux app?

Aucun commentaire:

Enregistrer un commentaire