We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68cc50a commit 9dc7512Copy full SHA for 9dc7512
README.md
@@ -1,4 +1,4 @@
1
-# VS Code Mocks for Jest
+# VS Code Mocks for Jest and Vitest
2
3
This packages is was created to help with the painful process of running unit tests on VS Code extensions.
4
@@ -66,6 +66,14 @@ describe('workspace', () => {
66
67
## Vitest
68
69
+Based upon:
70
+
71
+- [`vi.Mock()` | Vitest](https://vitest.dev/api/vi.html#vi-mock)
72
+- [Mocking | Guide | Vitest](https://vitest.dev/guide/mocking.html#modules)
73
+- [Mock Functions | Vitest](https://vitest.dev/api/mock.html)
74
75
+You can add the following file to your project:
76
77
**`__mocks__/vscode.cts`**
78
79
<!--- @@inject: test-packages/vitest-integration/__mocks__/vscode.cts --->
0 commit comments