chore(monorepo/client): reintegrate tests

This commit is contained in:
Elian Doran
2025-04-18 17:16:03 +03:00
parent 12bdf5adde
commit f0d365e336
6 changed files with 38 additions and 8 deletions

View File

@@ -20,7 +20,8 @@
"type": "module",
"main": "index.js",
"scripts": {
"build:webpack": "tsx node_modules/webpack/bin/webpack.js -c webpack.config.ts"
"build:webpack": "tsx node_modules/webpack/bin/webpack.js -c webpack.config.ts",
"test": "vitest"
},
"devDependencies": {
"@excalidraw/excalidraw": "0.18.0",
@@ -77,6 +78,7 @@
"css-loader": "7.1.2",
"postcss-loader": "8.1.1",
"eslint-linter-browserify": "9.24.0",
"@eslint/js": "9.24.0"
"@eslint/js": "9.24.0",
"happy-dom": "17.4.4"
}
}

View File

@@ -7,7 +7,7 @@ export default defineConfig({
...configDefaults.exclude,
"build/**",
],
setupFiles: ["./test/setup.ts"],
setupFiles: ["./spec/setup.ts"],
environment: "happy-dom",
coverage: {
reporter: [ "text", "html" ],