Releases: johannschopplich/nitro-test-utils
Releases · johannschopplich/nitro-test-utils
v0.10.1
v0.10.0
🐞 Bug Fixes
- Support Viteste v4 - by @johannschopplich in #18 (caf3c)
- Vitest 4 max workers config - by @johannschopplich (ec64a)
View changes on GitHub
v0.9.4
v0.9.3
v0.9.2
No significant changes
View changes on GitHub
v0.9.1
v0.9.0
🚨 Breaking Changes
- Rename
$fetchexport to$fetchRaw- by @johannschopplich in #10 (d5472)
🚀 Features
injectServerUrlandcreateFetchutils - by @johannschopplich (5052c)
View changes on GitHub
v0.8.2
v0.8.1
🏎 Performance
- Simplify global Nitro setup - by @johannschopplich (4ca33)
- Simplify starting server setup - by @johannschopplich (535fd)
View changes on GitHub
v0.8.0
Migration
The Nitro test utilities have been rewritten to provide flexible Nitro setups per test suite. The global Nitro setup was previously implicit and is now explicit. To upgrade and keep the same testing behavior, add the global option to the Nitro configuration in the vitest.config.ts file:
import { defineConfig } from 'nitro-test-utils/config'
export default defineConfig({
nitro: {
+ global: true
}
})Changes
🚨 Breaking Changes
- New
setuptest method to allow multiple fixtures - by @Barbapapazes and @johannschopplich in #7 (323eb)
🚀 Features
rerunOnSourceChangesoption - by @johannschopplich (793e2)- Optional global Nitro dev build - by @johannschopplich (d33d7)
- Share global and test-specific options - by @johannschopplich (81079)
🐞 Bug Fixes
- Optional
globalVitest config values - by @johannschopplich (29d4f)