chore(deps): update devdependency @nuxt/test-utils to v3 #72
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.1.2→^3.23.0Release Notes
nuxt/test-utils (@nuxt/test-utils)
v3.23.0Compare Source
👉 Changelog
compare changes
🚀 Enhancements
🩹 Fixes
$fetchis not typed asany(1f4754ea9)🏡 Chore
console.log(aef693340)✅ Tests
🤖 CI
❤️ Contributors
v3.22.0Compare Source
👉 Changelog
compare changes
🚀 Enhancements
vitestin separate process (#1524)NuxtPageexists (#1530)🔥 Performance
🩹 Fixes
.syncmethod for syncing route (1148c3cf1)server.depsrather thandeps(2b3c86921)sync()in initial setup (ec555192c)devtools:beforehook instead of direct config check (#1532)rootDir(#1531)💅 Refactors
addCleanup(86b4998bb)📖 Documentation
🏡 Chore
nuxtcli command in preference tonuxi(838ed8b6a)@vitest/uito example (ffaccd8a1)package.jsonnames (417102718)✅ Tests
defaultLocalein i18n test (059988fc3)🤖 CI
knipon pull requests (a94098671)❤️ Contributors
v3.21.0Compare Source
👉 Changelog
compare changes
🚀 Enhancements
onceoption inregisterEndpoint(#1475)🩹 Fixes
$fetch.create(#1471)globalPropertiesin mount + render helpers (#1476)@nuxt/kitv3 for bridge support (#1498)🏡 Chore
globbydependency (eba19d16b)@nuxt/kitfrom peer dependencies (b80ca5ea8)@nuxt/kitas peer dep (5c126e1af)🤖 CI
❤️ Contributors
v3.20.1Compare Source
v3.19.2Compare Source
👉 Changelog
compare changes
🩹 Fixes
.nuxt.extension (#1311)@nuxt/schemadependeny (fa3a99b4)vitest>= v3.2 (#1344)viteversion to merge config (#1345)🏡 Chore
nuxtovernuxi(#1310)engines.nodecalculation (2f74359b)✅ Tests
🤖 CI
knip(819aeacc)❤️ Contributors
v3.19.1Compare Source
👉 Changelog
compare changes
🩹 Fixes
defineConfigfrom vite (467886ea)🏡 Chore
@nuxt/devtoolsupgrade (3ae47b43)❤️ Contributors
v3.19.0Compare Source
👉 Changelog
compare changes
🚀 Enhancements
defineVitestProject(#1258)🩹 Fixes
UserConfigrather thanInlineConfigfromvite(e2a1598b)💅 Refactors
core->e2einternally (a81c4498)✅ Tests
environment: 'nuxt'for browser testing example (96769e55)❤️ Contributors
v3.18.0Compare Source
compare changes
🚀 Enhancements
🩹 Fixes
app.baseURLin manifest path (#1213)WrapperComponentdefault slot in function (#1244)💅 Refactors
setuphook tobeforeAllfor clarity (#1221)📖 Documentation
✅ Tests
tinyglobby(6f16c6dd)❤️ Contributors
v3.17.2Compare Source
👉 Changelog
compare changes
🩹 Fixes
🏡 Chore
❤️ Contributors
v3.17.1Compare Source
👉 Changelog
compare changes
🩹 Fixes
❤️ Contributors
v3.17.0Compare Source
👉 Changelog
compare changes
🚀 Enhancements
✅ Tests
❤️ Contributors
v3.16.0Compare Source
👀 Highlights
You'll still see a warning from vitest:
You can ignore this for the moment. I expect we will resolve this in the next major (which will drop support for vitest < 3).
👉 Changelog
compare changes
🚀 Enhancements
teardownTimeoutoption to set timeout forafterAllhook (af2ddf29)🩹 Fixes
buildId(3f8599e6)mountSuspended(#1081)mountSuspended(#1078)defufor merging (#1089)$attrsin component render context (#1108)vi.hoistedis injected afterviimport (#1128)wrapper.elementfrommountSuspended(#1110)📦 Build
typesVersionsfor node10 declarations (f19cee64)🏡 Chore
🤖 CI
❤️ Contributors
v3.15.4Compare Source
compare changes
🩹 Fixes
tinyexecto resolve nuxi binary (7df895e3)✅ Tests
❤️ Contributors
v3.15.3Compare Source
compare changes
🩹 Fixes
node:pathto resolvedistdirectory (#1054)❤️ Contributors
v3.15.2Compare Source
compare changes
🩹 Fixes
setIntervalfrom the presets (#1035)🏡 Chore
✅ Tests
❤️ Contributors
v3.15.1Compare Source
compare changes
🩹 Fixes
reactive(f05c0faf3)❤️ Contributors
v3.15.0Compare Source
compare changes
🚀 Enhancements
NuxtPageplaywright type (#1015)🩹 Fixes
defineModelinmountSuspended(#1011)props(#1025)javaScriptEnabled: false(ca06f337)distDirstring (094acb29)dirnamewhen calculatingdistDir(56122b74)nuxtConfig.nitro.output.dirwithbuild: false(#936)🏡 Chore
knipand reduce peer dependencies (4e10bd26)installed-checkto keepengines.nodein sync (ebcc5eff)✅ Tests
mountSuspended+ #imports (4f3f5032)🤖 CI
❤️ Contributors
v3.14.4Compare Source
compare changes
🩹 Fixes
NODE_ENVwhen running built server (#969)❤️ Contributors
v3.14.3Compare Source
compare changes
🩹 Fixes
directivestomountSuspended(#960)directivestorenderSuspended(cf1b48ff)🏡 Chore
✅ Tests
❤️ Contributors
v3.14.2Compare Source
compare changes
🔥 Performance
tinyexecto run commands (#939)🩹 Fixes
📖 Documentation
🏡 Chore
vitest-environment-nuxt(e30c044cf)@nuxtjs/i18nseparately (3d8955d36)compatibilityDatein fixtures (7723f969c)tinyexecstdout (2b50cfee0)❤️ Contributors
v3.14.1Compare Source
compare changes
🩹 Fixes
compatibilityDate(8e01e3f7)vitestplugins (#911)📖 Documentation
🏡 Chore
❤️ Contributors
v3.14.0Compare Source
compare changes
🚀 Enhancements
renderSuspended(#852)setup(#903)setupruns (#812)🩹 Fixes
#build/import until nuxt v3.12 release (66b23ae6)setPropsto replace an array (#877)🏡 Chore
✅ Tests
❤️ Contributors
v3.13.1Compare Source
compare changes
🩹 Fixes
execato v8 for now (fef8b062)buildIdtotestmanually (25e081e4)appIdfallback aftertryUseNuxtApp(#849)🏡 Chore
🤖 CI
❤️ Contributors
v3.13.0Compare Source
compare changes
🚀 Enhancements
$fetch(b21d9a54)execato v9 (#843)🔥 Performance
🩹 Fixes
fetchandmockLogger(eb40a6a6)startServer(1b182505)mockLogger(21aa7a2f)renderSuspendedandmountSuspended(1636cede)$fetchinference to unbreak build (dd295d39)setupStatereturn (ab7fd457)effectScopeinrenderSuspended(#820)$fetchusing globalThis instead (b1269edb)buildIdtonuxt-appfor compatibility with nuxt v3.12+ (a00b2c1f)tryUseNuxtApprather thanbuildIdoverride (726e0a2d)🏡 Chore
any(3e3bc306)no-explicit-anyrule (28385546)app-vitest-full(882c144e)@nuxt/devtoolsupgrades for now (54f654d6)❤️ Contributors
v3.12.1Compare Source
compare changes
🩹 Fixes
playwright.d.ts(#797)❤️ Contributors
v3.12.0Compare Source
compare changes
🚀 Enhancements
'route'/'hydration'options forpage.goto()(#739)playwrightrunner (#776)🩹 Fixes
🏡 Chore
🤖 CI
changelogencommand (e3368daf)❤️ Contributors
v3.11.0Compare Source
compare changes
🚀 Enhancements
🩹 Fixes
✅ Tests
vue-router(e293cea1)useRoute(fe465193)❤️ Contributors
v3.10.0Compare Source
compare changes
🚀 Enhancements
cucumbertest runner (#711)envoption forstartServer(#640)🩹 Fixes
toinRouterLinkstub (#687)afterAllandsetuphooks as async (#702)🏡 Chore
app-vitestexample (#712)✅ Tests
$t(#675)🤖 CI
❤️ Contributors
v3.9.0Compare Source
👀 Highlights
v3.9.0 is a significant release of
@nuxt/test-utils. Most notably:nuxt-vitestandvitest-environment-nuxtinto a single repository for both runtime unit testing and e2e/browser testing with Nuxt.✅ Upgrading
... from
@nuxt/test-utilsIf you were upgrading from
@nuxt/test-utils, the only significant change is to update your imports to@nuxt/test-utils/e2e(for clarity).If you were using the
jestrunner, this should now be auto-detected and you can removerunner: 'jest'from your test configuration.... from
nuxt-vitestIf you previously used
nuxt-vitest, we have now merged it into@nuxt/test-utils, as well as implementing a range of fixes.👉 Here are the required steps.
Uninstall
nuxt-vitestUpdate your
vitestversions to v1, and update@nuxt/test-utilsandvitest-environment-nuxtto the latest versions:"devDependencies": { - "@​nuxt/test-utils": "^3.8.1", + "@​nuxt/test-utils": "^3.9.0", - "@​vitest/coverage-v8": "0.33.0", + "@​vitest/coverage-v8": "^1.0.4", "@​vue/test-utils": "^2.4.3", - "nuxt-vitest": "^0.11.5", - "vitest": "^0.33.0", + "vitest": "^1.0.4", + "vitest-environment-nuxt": "^1.0.0" },Update your
nuxt.configif you have added thenuxt-vitestmodule to it, and update the configuration fromvitesttotestUtils:export default defineNuxtConfig({ modules: [ - 'nuxt-vitest' + '@​nuxt/test-utils/module' ], - vitest: {} + testUtils: {} })Update any imports from
nuxt-vitestandvitest-environment-nuxtand@nuxt/test-utils:Ensure vitest is running in a module context (either by checking you have
type: 'module'set in yourpackage.json, or by renaming yourvitest.configfile tovitest.config.mtsorvitest.config.mjs.If you encounter any problems with this upgrade path, please let us know by raising an issue. 🙏
👉 Changelog
compare changes
🚀 Enhancements
🩹 Fixes
💅 Refactors
📖 Documentation
📦 Build
✅ Tests
🎨 Styles
🤖 CI
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.