refactor: migrate challenge parser tests to vitest (#62186)

This commit is contained in:
Oliver Eyton-Williams
2025-09-12 18:50:02 +02:00
committed by GitHub
parent 2590c1c820
commit 28411a2cec
36 changed files with 257 additions and 288 deletions
+3 -2
View File
@@ -19,7 +19,7 @@
"author": "freeCodeCamp <team@freecodecamp.org>",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "vitest"
},
"dependencies": {
"hast-util-to-html": "7.1.3",
@@ -54,6 +54,7 @@
"unist-util-visit-children": "1.1.4"
},
"devDependencies": {
"unist-util-select": "3.0.4"
"unist-util-select": "3.0.4",
"vitest": "^3.2.4"
}
}