Releases: nuxt/test-utils
Releases · nuxt/test-utils
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 yonshi29@gmail.com
v3.12.1
v3.12.0
🚀 Enhancements
🩹 Fixes
- config: Remove nuxt's custom vite logger (eca52f5c)
🏡 Chore
🤖 CI
- Remove caching of Playwright browsers (#785)
- Add release workflow (76604ce0)
- Update
changelogen
command (e3368daf) - Add git user (5aa95b02)
- Add contents permission (cf6cd3a8)
- Rename some workflows (7ea235e9)
- Do less in workflow (1f664fc5)
❤️ Contributors
- Daniel Roe (@danielroe)
- Max Schmitt (@mxschmitt)
v3.11.0
🚀 Enhancements
- vitest-environment: Add support for in-source testing (#651)
🩹 Fixes
- runtime: Reset modules after nuxt setup runs (#726)
✅ Tests
❤️ Contributors
- Daniel Roe (@danielroe)