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

Support for vue cli projects #67

Closed
mika76 opened this issue Sep 10, 2019 · 4 comments
Closed

Support for vue cli projects #67

mika76 opened this issue Sep 10, 2019 · 4 comments
Labels
wontfix This will not be worked on

Comments

@mika76
Copy link

mika76 commented Sep 10, 2019

Currently when I try it there are no tests found and I don't see any way to use it together...

@mika76
Copy link
Author

mika76 commented Sep 10, 2019

Initially there were no test because of the extension being disabled, but once enabling it still didn't find any tests.

I have the default test in a basic newly created vue cli app in the tests/unit/example.spec.js

It seems that it's looking only in test/**/*.js (not plural tests) but I see no place in the config to change this? When I renamed the folder it then found the test but failed running it because it did not like the import statement...

@hbenl
Copy link
Owner

hbenl commented Sep 10, 2019

Are you using vue-cli-service test to run your tests?

@mika76
Copy link
Author

mika76 commented Sep 10, 2019

Yeah currently npm run test:unit which runs vue-cli-service, but would love it integrated into vscode

@hbenl
Copy link
Owner

hbenl commented Sep 10, 2019

In that case it won't work with this adapter, sorry. The adapter needs to run mocha directly. Maybe it's possible to write a worker script and use it with mochaExplorer.launcherScript, but that would be a lot of work...

@hbenl hbenl closed this as completed Sep 10, 2019
@hbenl hbenl added the wontfix This will not be worked on label Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants