Add dependencies for vitest testutils

This commit is contained in:
Matthias 2024-04-12 20:10:01 +02:00
parent 9c2b00058d
commit 4241167770
3 changed files with 28 additions and 0 deletions

View File

@ -63,6 +63,7 @@
"eslint": "^8.57.0", "eslint": "^8.57.0",
"eslint-plugin-prettier": "^5.1.3", "eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.24.1", "eslint-plugin-vue": "^9.24.1",
"happy-dom": "^14.7.1",
"mutationobserver-shim": "^0.3.7", "mutationobserver-shim": "^0.3.7",
"portal-vue": "^3.0.0", "portal-vue": "^3.0.0",
"prettier": "^3.2.5", "prettier": "^3.2.5",

View File

@ -64,6 +64,7 @@ export default defineConfig({
port: 3000, port: 3000,
}, },
test: { test: {
environment: 'happy-dom',
exclude: [ exclude: [
'**/node_modules/**', '**/node_modules/**',
'**/dist/**', '**/dist/**',

View File

@ -3210,6 +3210,7 @@ __metadata:
eslint-plugin-prettier: "npm:^5.1.3" eslint-plugin-prettier: "npm:^5.1.3"
eslint-plugin-vue: "npm:^9.24.1" eslint-plugin-vue: "npm:^9.24.1"
favico.js: "npm:^0.3.10" favico.js: "npm:^0.3.10"
happy-dom: "npm:^14.7.1"
humanize-duration: "npm:^3.32.0" humanize-duration: "npm:^3.32.0"
mutationobserver-shim: "npm:^0.3.7" mutationobserver-shim: "npm:^0.3.7"
pinia: "npm:^2.1.7" pinia: "npm:^2.1.7"
@ -3479,6 +3480,17 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"happy-dom@npm:^14.7.1":
version: 14.7.1
resolution: "happy-dom@npm:14.7.1"
dependencies:
entities: "npm:^4.5.0"
webidl-conversions: "npm:^7.0.0"
whatwg-mimetype: "npm:^3.0.0"
checksum: 10/8a8c8995abc92d5319750d71cac08a4aafd26e8a7203d2a970270c5c1ca68dad2b3af772de761e061107f3aaa51d6cb9430f07e05366047a126ef908377a4c08
languageName: node
linkType: hard
"has-flag@npm:^4.0.0": "has-flag@npm:^4.0.0":
version: 4.0.0 version: 4.0.0
resolution: "has-flag@npm:4.0.0" resolution: "has-flag@npm:4.0.0"
@ -6140,6 +6152,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"webidl-conversions@npm:^7.0.0":
version: 7.0.0
resolution: "webidl-conversions@npm:7.0.0"
checksum: 10/4c4f65472c010eddbe648c11b977d048dd96956a625f7f8b9d64e1b30c3c1f23ea1acfd654648426ce5c743c2108a5a757c0592f02902cf7367adb7d14e67721
languageName: node
linkType: hard
"webpack-sources@npm:^3.2.3": "webpack-sources@npm:^3.2.3":
version: 3.2.3 version: 3.2.3
resolution: "webpack-sources@npm:3.2.3" resolution: "webpack-sources@npm:3.2.3"
@ -6154,6 +6173,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"whatwg-mimetype@npm:^3.0.0":
version: 3.0.0
resolution: "whatwg-mimetype@npm:3.0.0"
checksum: 10/96f9f628c663c2ae05412c185ca81b3df54bcb921ab52fe9ebc0081c1720f25d770665401eb2338ab7f48c71568133845638e18a81ed52ab5d4dcef7d22b40ef
languageName: node
linkType: hard
"which@npm:^2.0.1": "which@npm:^2.0.1":
version: 2.0.2 version: 2.0.2
resolution: "which@npm:2.0.2" resolution: "which@npm:2.0.2"