Skip to content

Upgrading vitest 0.14 to 0.15

Safe0.14.2 โ†’ 0.15.2New5Fixed12

SafeUpgrade verdict

Only new features and fixes in this range.

  • Nothing in this range needs changes to your code. It adds features and fixes.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Adds @types/node *.

Installs 53 packages in all (was 51).

Also installs undici-types.

Nothing in this upgrade needs a code or configuration change.

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • removed: property WorkerContext.id: number
  • changed: interface ResolvedConfig extends Omit<Required<UserConfig>, 'config' | 'filters' | 'coverage' | 'testNamePattern' | 'related' | 'api' | 'reporters' | 'resolveSnapshotPath'> โ†’ interface ResolvedConfig extends Omit<Required<UserConfig>, 'config' | 'filters' | 'coverage' | 'testNamePattern' | 'related' | 'api' | 'reporters' | 'resolveSnapshotPath' | 'shard'>
  • changed: type MockedFunction<T extends Procedure> = MockWithArgs<T> & { [K in keyof T]: T[K] } โ†’ type MockedFunction<T extends Procedure> = SpyInstanceFn<Parameters<T>, ReturnType<T>> & { [K in keyof T]: T[K] }
  • added: property InlineConfig.css?: boolean | { include?: RegExp | RegExp[]; exclude?: RegExp | RegExp[] }
  • added: property InlineConfig.maxConcurrency?: number
  • added: property ResolvedConfig.shard?: { index: number; count: number }
  • added: property UserConfig.shard?: string
  • added: property WorkerContext.poolId: number
  • added: property WorkerContext.workerId: number