Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component under test breaks if it requires source modules #11

Open
jcalonso opened this issue Aug 5, 2017 · 0 comments
Open

Component under test breaks if it requires source modules #11

jcalonso opened this issue Aug 5, 2017 · 0 comments

Comments

@jcalonso
Copy link

jcalonso commented Aug 5, 2017

I replicated the issue here: https://github.com/jcalonso/avoriaz-ava-example/commit/d4afd13d15d612e2d2d59a3811a7ea1ae4c88216

I'm getting:

npm test
> avoriaz-ava-example@1.0.0 test /home/jcalonso/Projects/github/avoriaz-ava-example
> nyc ./node_modules/.bin/ava test/*.spec.js

/home/jcalonso/Projects/github/avoriaz-ava-example/node_modules/vue2-simplert/src/main-dist.js:1
(function (exports, require, module, __filename, __dirname) { import Simplert from './Simplert.vue'
                                                              ^^^^^^

SyntaxError: Unexpected token import

Am I missing something?

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

No branches or pull requests

1 participant