Skip to content

Commit

Permalink
cherry pick changes from UVF branch
Browse files Browse the repository at this point in the history
improve test explorer config
  • Loading branch information
overheadhunter committed May 9, 2024
1 parent 7cb1356 commit 0d7d4aa
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
9 changes: 8 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,21 @@
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"lint": "eslint -c .eslintrc.js",
"test": "nyc --reporter lcov mocha -r ts-node/register test/**/*.spec.ts",
"test": "nyc --reporter lcov mocha",
"serve": "vite preview",
"dist": "vue-tsc --noEmit && vite build --sourcemap --outDir=\"../backend/src/main/resources/META-INF/resources\" --emptyOutDir"
},
"directories": {
"src": "./src",
"test": "./test"
},
"mocha": {
"require": [
"ts-node/register"
],
"spec": "test/**/*.spec.ts",
"timeout": 60000
},
"devDependencies": {
"@intlify/unplugin-vue-i18n": "^4.0.0",
"@tailwindcss/forms": "^0.5.7",
Expand Down
2 changes: 1 addition & 1 deletion frontend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"resolveJsonModule": true,
"esModuleInterop": true,
"lib": ["esnext", "dom"],
"noUnusedLocals": true,
"noUnusedLocals": false,
"useUnknownInCatchVariables": false, // Workaround for `node_modules/miscreant/src/providers/webcrypto.ts:21:11 - error TS18046: 'e' is of type 'unknown'.`
},
"ts-node": {
Expand Down
3 changes: 2 additions & 1 deletion hub.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit",
"source.fixAll.eslint": "explicit"
}
},
"testExplorer.useNativeTesting": true
}
}

0 comments on commit 0d7d4aa

Please sign in to comment.