Releases: nuxt/test-utils
Releases · nuxt/test-utils
v3.15.1
v3.15.0
🚀 Enhancements
- e2e: Expose
NuxtPage
playwright type (#1015) - playwright: Allow providing default test options (#1001)
🩹 Fixes
- runtime-utils: Support
defineModel
inmountSuspended
(#1011) - core: Bump teardown timeout for jest (3225562e)
- runtime-utils: Handle reserved
props
(#1025) - vitest-environment: Suppress suspense warning (#1026)
- runtime-utils: Suppress errors setting unneeded properties (4e9f34b9)
- e2e: Handle
javaScriptEnabled: false
(ca06f337) - e2e: Use subpath import for
distDir
string (094acb29) - e2e: Remove
dirname
when calculatingdistDir
(56122b74) - e2e: Use
nuxtConfig.nitro.output.dir
withbuild: false
(#936)
🏡 Chore
- Upgrade typescript separately (ee6f4c08)
- Add
knip
and reduce peer dependencies (4e10bd26) - Revert node requirement (bb4345a8)
- Use
installed-check
to keepengines.node
in sync (ebcc5eff)
✅ Tests
🤖 CI
- Run tests on node 22 (86fd24c4)
❤️ Contributors
- Alexander Rozhkov (@Al-Rozhkov)
- Daniel Roe (@danielroe)
- Torma Gábor (@GaborTorma)
- Ahmadou Waly NDIAYE (@sir-kain)
- Ryota Watanabe (@wattanx)
v3.14.4
🩹 Fixes
- e2e: Set
NODE_ENV
when running built server (#969) - runtime-utils: Bind this in options api methods (#971)
❤️ Contributors
- INOUE Takuya (@inouetakuya)
- Daniel Roe (@danielroe)
v3.14.3
🩹 Fixes
- vitest-environment: Respect custom url in setup (#957)
- runtime-utils: Pass global
directives
tomountSuspended
(#960) - runtime-utils: Pass global
directives
torenderSuspended
(cf1b48ff) - runtime-utils: Support options api data, computed + methods (#963)
🏡 Chore
- Update vitest type import (af810cbd)
✅ Tests
- Bump playwright setup time for windows (21ade1f2)
❤️ Contributors
- Daniel Roe (@danielroe)
- INOUE Takuya (@inouetakuya)
- Joel Wenzel (@joel-wenzel)
- Ryoya (@harunari0928)
v3.14.2
🔥 Performance
- e2e: Use
tinyexec
to run commands (#939)
🩹 Fixes
- config: Exclude new nuxt import-conditions plugin (7cc8f653b)
📖 Documentation
- Add contribution instructions (c765d175a)
🏡 Chore
- vitest-environment-nuxt: Specify license is MIT (#919)
- Release
vitest-environment-nuxt
(e30c044cf) - Update
@nuxtjs/i18n
separately (3d8955d36) - Set
compatibilityDate
in fixtures (7723f969c) - Update vitest type import (05e94fcc4)
- Trim tag from
tinyexec
stdout (2b50cfee0)
❤️ Contributors
- Daniel Roe (@danielroe)
- Bobbie Goede (@BobbieGoede)
- Marley Adamson (@transreport-marley)
v3.14.1
🩹 Fixes
- e2e,config: Provide fallback
compatibilityDate
(8e01e3f7) - module: Don't include type-check plugin in resolved
vitest
plugins (#911)
📖 Documentation
- Provide intellisense hints for setup properties (#906)
🏡 Chore
❤️ Contributors
- Daniel Roe (@danielroe)
- Valentin Brajon (@vbrajon)
- Adam DeHaven (@adamdehaven)
v3.14.0
🚀 Enhancements
- runtime-utils: Expose setup result from
renderSuspended
(#852) - e2e: Allow overwriting env variables in
setup
(#903) - e2e: Allow running e2e tests against existing server (#803)
- e2e: Allow updating env in context before
setup
runs (#812)
🩹 Fixes
- runtime-utils: Ts-ignore
#build/
import until nuxt v3.12 release (66b23ae6) - runtime-utils: Allow
setProps
to replace an array (#877)
🏡 Chore
- Ignore ts-ignores for now (ac2d9fbb)
- Add @danielroe to code owners (76f65b3b)
- Remove ts-ignore now that we're upgraded (16827f7f)
✅ Tests
- Bump timeout in windows browser spec (73e2c716)
❤️ Contributors
- Jessé Correia Lins (@linspw)
- Tobias Diez (@tobiasdiez)
- Mark Brockhoff (@markbrockhoff)
- Daniel Roe (@danielroe)
- MaruyamaTomoki (@tomoki1207)
- Joao Vitor Alves (@joaovitoras)
v3.13.1
v3.13.0
🚀 Enhancements
🔥 Performance
- e2e: Don't iterate when cleaning up if nothing registered (#753)
🩹 Fixes
- e2e: Improve types for
fetch
andmockLogger
(eb40a6a6) - e2e: Force string response within
startServer
(1b182505) - e2e: Improve return types for
mockLogger
(21aa7a2f) - runtime: Improve types for
renderSuspended
andmountSuspended
(1636cede) - e2e: Revert changes for
$fetch
inference to unbreak build (dd295d39) - vitest: Strongly type vitest environment options (37582c71)
- module: Correctly filter vite plugins (021824d0)
- runtime: Preserve
setupState
return (ab7fd457) - playwright: Bump dependency and remove polyfill (#819)
- runtime: Use
effectScope
inrenderSuspended
(#820) - e2e: Type
$fetch
using globalThis instead (b1269edb) - Set
buildId
tonuxt-app
for compatibility with nuxt v3.12+ (a00b2c1f) - runtime-utils: Use
tryUseNuxtApp
rather thanbuildId
override (726e0a2d)
🏡 Chore
- Migrate to eslint v9 (#814)
- Reduce internal typing of
any
(3e3bc306) - Reenable
no-explicit-any
rule (28385546) - Normalise internal package names (3f58b110)
- Update example command (e271b63e)
- Add name for
app-vitest-full
(882c144e) - Ignore
@nuxt/devtools
upgrades for now (54f654d6) - Lint (08ee3515)
❤️ Contributors
- Daniel Roe (@danielroe)
- Michael Brevard [email protected]