You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://github.com/microsoft/vscode-test is a way to do vscode E2E testing for vscode extensions using a real vscode instance instead of mocking the vscode interface.
As a follow-up, this is currently not possible because vitest is ESM only, and vscode only supports CommonJS modules today. This has been fixed in electron as of today but it will probably be a long time before vscode merges this version of electron.
https://github.com/microsoft/vscode-test is a way to do vscode E2E testing for vscode extensions using a real vscode instance instead of mocking the
vscode
interface.I had a way to make this work with Mocha by injecting the test worker into the vscode test instance so the explorer can still get the results.
https://github.com/pester/vscode-adapter/blob/4b18781f8db580e1c66b7895950c1d9bb83e0de8/test/runTestsInner.ts
Just wondering if something similar is possible for the vitest explorer. Thanks!
The text was updated successfully, but these errors were encountered: