Run test with specific adapter #511
carloscalla
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to add a parameter to run the
runfunction with an specific adapter?If a project has, let's say jest and vitest tests, and both files exist
jest.config.tsandvitest.config.ts, then 2 adapters are loaded for the same testfiles. Woudl it be possibel to add a param to run tests with an specific adapter?This scenario happened to me working on a project where there's a migration from jest to vitest going on and not all the code is fully migrated and it can take some time in a large codebase to fully migrate. In the time being both suites exist.
I also found this reddit post of someone with the same problem:
https://www.reddit.com/r/neovim/comments/1kdh70a/neotest_with_mulitple_adapters_on_the_same_project/
Beta Was this translation helpful? Give feedback.
All reactions