Skip to content

Commit b494283

Browse files
committed
chore: vitest @nuxt/scripts resolution
1 parent d7ad1fc commit b494283

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@
127127
"vitest": "^3.0.7",
128128
"vue": "^3.5.13",
129129
"vue-router": "^4.5.0",
130-
"vue-tsc": "^2.2.6"
130+
"vue-tsc": "^2.2.6",
131+
"@nuxt/scripts": "workspace:*"
131132
},
132133
"resolutions": {
133134
"@nuxt/schema": "catalog:",

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vitest.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,12 @@ import { defineVitestConfig } from '@nuxt/test-utils/config'
33
export default defineVitestConfig({
44
test: {
55
globals: true,
6+
environmentOptions: {
7+
nuxt: {
8+
overrides: {
9+
modules: ['@nuxt/scripts'],
10+
},
11+
},
12+
},
613
},
714
})

0 commit comments

Comments
 (0)