Closed black7375 closed 1 year ago
I'd like to provide an API for setting up a custom runner.
Ready to hear it 😄
Right now we run our tests in packages/vitest/src/runtime/run.ts
. You can look it up for reference
Some more info here on Jest's custom test runner: https://www.youtube.com/watch?v=NtjyeojAOBs "ReactiveConf 2017 - Rogelio Guzman: Jest as a Platform"
Clear and concise description of the problem
Jest ecosystem has jest-runner or create-jest-runner.
It can be extended to test in an environment such as an electron. Also, It would be nice to be able to perform lint or typecheck with the efficient worker of tinypool.
Suggested solution
I'd like to provide an API for setting up a custom runner.
Alternative
It can also refer to Jest's
projects
config.Additional context
No response
Validations