Skip to content

Commit 7d2b549

Browse files
Copilotabernier
andauthored
Move commented tests from resolveMdxUrl.ts to vitest (#516)
* Initial plan * Add vitest infrastructure and move commented tests to vitest Co-authored-by: abernier <76580+abernier@users.noreply.github.com> * Address review feedback: remove @vitest/ui, merge test commands, simplify config Co-authored-by: abernier <76580+abernier@users.noreply.github.com> * . --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: abernier <76580+abernier@users.noreply.github.com> Co-authored-by: Antoine BERNIER <antoine.bernier@gmail.com>
1 parent 3e929fa commit 7d2b549

File tree

5 files changed

+403
-103
lines changed

5 files changed

+403
-103
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
"tailwindcss-animate": "^1.0.7",
4242
"tw-animate-css": "^1.4.0",
4343
"typescript": "^5.6.2",
44-
"vite": "^7.3.1"
44+
"vite": "^7.3.1",
45+
"vitest": "^4.0.18"
4546
},
4647
"dependencies": {
4748
"@codesandbox/sandpack-react": "^2.20.0",
@@ -84,7 +85,7 @@
8485
"prepare": "husky && (test -f scripts/copy-fonts.sh && sh scripts/copy-fonts.sh || true)",
8586
"release": "changeset publish",
8687
"changeset": "changeset",
87-
"test": "playwright test",
88+
"test": "vitest && playwright test",
8889
"chromatic": "chromatic --project-token $CHROMATIC_PROJECT_TOKEN",
8990
"storybook": "storybook dev -p 6006",
9091
"build-storybook": "storybook build"

0 commit comments

Comments
 (0)