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

[Bug] Launch "Run AVA tests" don't resolve the right file #2174

Open
sarvaje opened this issue Apr 4, 2019 · 4 comments
Open

[Bug] Launch "Run AVA tests" don't resolve the right file #2174

sarvaje opened this issue Apr 4, 2019 · 4 comments

Comments

@sarvaje
Copy link
Contributor

sarvaje commented Apr 4, 2019

🐛 Bug report

Description

When you try to run the tests from VSCode for a file you get an error: Error: ENOENT: no such file or directory

Steps to reproduce

  1. Go to the tab "Debug" in VSCode.
  2. Choose the configuration "Run AVA test"
  3. Open the file packages/hint/tests/lib/config.ts
  4. Press F5 to run the tests.

Expected

The tests run.

Actual

You get an error Error: ENOENT: no such file or directory

@molant
Copy link
Member

molant commented Apr 4, 2019 via email

@sarvaje
Copy link
Contributor Author

sarvaje commented Apr 4, 2019

packages/hint/tests/dist/tests/config.js

@molant
Copy link
Member

molant commented Apr 4, 2019 via email

@molant
Copy link
Member

molant commented Apr 11, 2019

I think the easiest will be to create a separate task to test the hint package 🤔

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

No branches or pull requests

2 participants