mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
chore(monorepo/client): reintegrate tests
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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" ],
|
||||
|
||||
Reference in New Issue
Block a user