Skip to content

Commit 52dd05f

Browse files
authored
feat(backend): Migrate to vitest (#4296)
1 parent 734b9e8 commit 52dd05f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+7508
-6701
lines changed

.changeset/modern-chicken-crash.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.vscode/launch.json

+13
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,19 @@
2121
"request": "launch",
2222
"command": "npm start",
2323
"cwd": "${workspaceFolder}/playground/express"
24+
},
25+
{
26+
"name": "Debug Vitest",
27+
"type": "node",
28+
"request": "launch",
29+
"program": "${workspaceFolder}/scripts/vitest-debug.mjs",
30+
"args": ["${file}"],
31+
"cwd": "${workspaceFolder}",
32+
"console": "integratedTerminal",
33+
"internalConsoleOptions": "neverOpen",
34+
"autoAttachChildProcesses": true,
35+
"smartStep": true,
36+
"skipFiles": ["<node_internals>/**", "**/node_modules/**"]
2437
}
2538
]
2639
}

docs/CONTRIBUTING.md

-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ The current monorepo setup is based on:
3737
- [GitHub Actions](https://docs.github.com/en/actions), used for quality checks and automated release orchestration.
3838
- [Yalc](https://github.com/wclr/yalc), used for to publish packages locally and test them in other local projects.
3939
- [Jest](https://jestjs.io/), used for running unit tests.
40-
- [QUnit](https://qunitjs.com/), used for tests inside `@clerk/backend`.
4140
- [Playwright](https://playwright.dev/), used for running the [integration](../integration/) test suite.
4241

4342
All packages of the monorepo are inside [packages](../packages). For package specific details on installation, architecture and usage, you can refer to the package's README file.

0 commit comments

Comments
 (0)