Releases: nuxt/test-utils
Releases · nuxt/test-utils
v3.19.1
👉 Changelog
🩹 Fixes
- config: Upgrade nuxt devtools + disable vue devtools (#824)
- module: Import
defineConfig
from vite (467886ea)
🏡 Chore
- Don't ignore
@nuxt/devtools
upgrade (3ae47b43)
❤️ Contributors
- Daniel Roe (@danielroe)
v3.19.0
👉 Changelog
🚀 Enhancements
- config: Support vitest workspaces with
defineVitestProject
(#1258) - config: Add nuxt environment browser-testing support (#1294)
🩹 Fixes
- config: Use
UserConfig
rather thanInlineConfig
fromvite
(e2a1598b)
💅 Refactors
- Rename
core
->e2e
internally (a81c4498)
✅ Tests
- Set
environment: 'nuxt'
for browser testing example (96769e55) - Add browser mode tests for nuxt/content components (#1284)
❤️ Contributors
- Jess (@JessicaSachs)
- Daniel Roe (@danielroe)
v3.18.0
🚀 Enhancements
🩹 Fixes
- vitest-environment: Respect custom
app.baseURL
in manifest path (#1213) - runtime-utils: Wrap
WrapperComponent
default slot in function (#1244)
💅 Refactors
- Rename
setup
hook tobeforeAll
for clarity (#1221)
📖 Documentation
- Consistent URL formatting (#1217)
✅ Tests
- Update module example (1b42cef1)
- Await reject promise (1ecbb0e1)
- Reorder test options object (086415b0)
- Use
tinyglobby
(6f16c6dd)
❤️ Contributors
- Jess (@JessicaSachs)
- Daniel Roe (@danielroe)
- m0nch1 (@m0nch1)
- Bobbie Goede (@BobbieGoede)
v3.17.2
3.17.2 is the next patch release.
Timetable: to be announced.
👉 Changelog
🩹 Fixes
- vitest-environment: Migrate from unenv -> node-mock-http (#1179)
🏡 Chore
- Remove contents sqlite (54cb15be)
❤️ Contributors
- Daniel Roe (@danielroe)
v3.17.1
v3.17.0
👉 Changelog
🚀 Enhancements
- runtime-utils: Allow modifying + removing endpoints (fee81510)
✅ Tests
- Update snapshot (4e5ff1f2)
❤️ Contributors
- Daniel Roe (@danielroe)
v3.16.0
3.16.0 is the next minor release.
👀 Highlights
You'll still see a warning from vitest:
Vitest "environmentMatchGlobs" is deprecated. Use "workspace" to define different configurations instead.
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
🚀 Enhancements
- e2e: Add
teardownTimeout
option to set timeout forafterAll
hook (af2ddf29)
🩹 Fixes
- vitest-environment: Respect any configured
buildId
(3f8599e6) - vitest-environment: Use correct base (c5ba2bac)
- runtime-utils: Pass custom global components to
mountSuspended
(#1081) - runtime-utils: Allow overwriting object props in
mountSuspended
(#1078) - runtime-utils: Do not use
defu
for merging (#1089) - runtime-utils: Proxy wrapper props (#1099)
- runtime-utils: Define
$attrs
in component render context (#1108) - module: Ensure
vi.hoisted
is injected aftervi
import (#1128) - runtime-utils: Proxy
wrapper.element
frommountSuspended
(#1110)
📦 Build
- Use
typesVersions
for node10 declarations (f19cee64)
🏡 Chore
🤖 CI
❤️ Contributors
- Daniel Roe (@danielroe)
- Ryota Watanabe (@wattanx)
- Robin (@OrbisK)
- Romain Hamel (@romhml)
- Tobi (@tobiasdcl)
v3.15.4
🩹 Fixes
- e2e: Use
tinyexec
to resolve nuxi binary (7df895e3) - e2e: Increase default windows setup timeout (6f38dd58)
✅ Tests
- Bump timeout in test also (dcf038a0)
❤️ Contributors
- Daniel Roe (@danielroe)
v3.15.3
🩹 Fixes
- e2e: Use
node:path
to resolvedist
directory (#1054)
❤️ Contributors
- Scott Bedard (@scottbedard)
v3.15.2
🩹 Fixes
- module: Remove
setInterval
from the presets (#1035)
🏡 Chore
✅ Tests
- Update windows timeout for e2e test (1acb335b)
❤️ Contributors
- Daniel Roe (@danielroe)
- Ryota Watanabe (@wattanx)