@grest-ts/testkit-vitest
Vitest integration for @grest-ts/testkit. This package is configured as a global setup script — it wraps Vitest's describe, test, beforeAll, afterEach, and other lifecycle hooks so that the testkit infrastructure (service discovery, IPC, test runner) is automatically initialized and torn down for each test suite.
You don't use this package directly. It is set up by @grest-ts/testkit and works behind the scenes.
What it does
- Wraps
describe/test/itglobally to manage testkit scopes and context - Starts an IPC server and local discovery for each top-level
describeblock - Handles
beforeAll/afterEach/afterAllcleanup automatically - Supports nested
describeblocks with proper scope branching - Exports a
./globalSetupentry point for Vitest configuration
