Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nuxtrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
setups.@nuxt/test-utils="4.0.3"
setups.@nuxt/test-utils="4.1.0"
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@nuxtjs/mdc": "0.22.2",
"better-sqlite3": "12.11.1",
"docus": "5.12.3",
"nuxt": "4.4.8",
"nuxt": "4.5.1",
"tailwindcss": "4.3.3"
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@nuxt/a11y": "1.0.0-alpha.1",
"@nuxt/fonts": "0.14.0",
"@nuxt/scripts": "1.3.2",
"@nuxt/test-utils": "4.0.3",
"@nuxt/test-utils": "4.1.0",
"@nuxtjs/color-mode": "4.0.1",
"@nuxtjs/html-validator": "2.1.0",
"@nuxtjs/i18n": "10.6.0",
Expand Down Expand Up @@ -92,7 +92,7 @@
"ipaddr.js": "2.4.0",
"marked": "18.0.7",
"module-replacements": "3.1.0",
"nuxt": "4.4.8",
"nuxt": "4.5.1",
"nuxt-og-image": "6.7.5",
"ofetch": "1.5.1",
"ohash": "2.0.11",
Expand All @@ -111,7 +111,7 @@
"virtua": "0.50.0",
"vite-plugin-pwa": "1.3.0",
"vite-plus": "catalog:vite-plus",
"vue": "3.5.39",
"vue": "3.5.40",
"vue-data-ui": "3.22.14",
"vue-router": "5.2.0"
},
Expand Down
20 changes: 10 additions & 10 deletions patches/@nuxt__test-utils.patch
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
diff --git a/dist/config.mjs b/dist/config.mjs
index 41a73e237a7ecd0c63985421737f3cf0782391ee..56c9e2ca1dfade16afb10d90cebe43803063f837 100644
index 3d627e2a5febb492e4f8630c1301701c2770f4e2..5cacae1577070faebaa034e4eb665391c8833382 100644
--- a/dist/config.mjs
+++ b/dist/config.mjs
@@ -128,7 +128,7 @@ async function getVitestConfigFromNuxt(options, loadNuxtOptions = {}) {
},
test: {
environmentOptions: {
- nuxtRuntimeConfig: applyEnv(structuredClone(options.nuxt.options.runtimeConfig), {
+ nuxtRuntimeConfig: applyEnv(JSON.parse(JSON.stringify(options.nuxt.options.runtimeConfig)), {
prefix: "NUXT_",
env: await setupDotenv(defu(loadNuxtOptions.dotenv, {
cwd: rootDir,
@@ -103,7 +103,7 @@ async function getVitestConfigFromNuxt(options, loadNuxtOptions = {}) {
optimizeDeps: { noDiscovery: true },
test: {
environmentOptions: {
- nuxtRuntimeConfig: applyEnv(structuredClone(options.nuxt.options.runtimeConfig), {
+ nuxtRuntimeConfig: applyEnv(JSON.parse(JSON.stringify(options.nuxt.options.runtimeConfig)), {
prefix: "NUXT_",
env: await setupDotenv(defu$1(loadNuxtOptions.dotenv, {
cwd: rootDir,
Loading
Loading