Skip to content

v18.0.0

Choose a tag to compare

@jterrazz jterrazz released this 21 Oct 23:18
a636ccc

Major release. What a 17 project rewrites is Set up a project § From 17 to 18:

  • defineSpecConfig(), SpecConfig and SpecificationConfig are removed: a vitest config is the derived one-liner await vitestConfig(import.meta.url) over test.projects.
  • component() called directly takes { root }, an absolute path.
  • msw 3; strict stubs answer an unmatched request with strict stubs: unmatched request, and refuse a method msw cannot read off the wire.
  • The vitest peer starts at 5.0.4 (5.0.5 is the first patch whose mocker takes msw 3); vitest and @vitest/browser-playwright move together.
  • Vitest's workers are sized by the toolchain's capacity model.
  • Built and checked against @jterrazz/typescript 11.1.0.