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

Add a test runner for JavaScript #12

Open
anhari opened this issue May 12, 2020 · 2 comments
Open

Add a test runner for JavaScript #12

anhari opened this issue May 12, 2020 · 2 comments

Comments

@anhari
Copy link
Owner

anhari commented May 12, 2020

Seems like jest is probably the best choice as the default runner.

See jest-cli documentation.

@alk-mandrianarijaona
Copy link

hey @anhari, how can we help to have this feature?

@anhari
Copy link
Owner Author

anhari commented Jun 16, 2021

Hey Mika 👋! Sorry for such a delayed response. To be honest, I've been sitting on this one because I'm not sure of the best way to go about it 😅

  • Jest doesn't seem to support running a specific test using a line number
  • The directory structure for JavaScript projects I've contributed to have varied quite a bit.
  • I would want to get it working with TypeScript as well.

It's definitely doable (outside of running a test using the current line number), but I've been a bit mentally stuck on fleshing it out. I think the easiest place to start would be adding the ability to run all of the tests in an opened test file.

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

2 participants