Published API · 0.1.0-rc.1
foldkit · test/vitest
Published foldkit API declarations for test/vitest.
./test/vitest
@wsagency/wseffect-foldkit · MIT · source · MIT license · WS-AGENCY-NOTICE · THIRD-PARTY-NOTICES
This entry point is published in @wsagency/wseffect-foldkit@0.1.0-rc.1. Import it from the package subpath shown below; the signatures and documentation are read from the installed package declarations.
import * as Wseffect from '@wsagency/wseffect-foldkit/test/vitest'
Exported declarations
setup
Registers Foldkit's Scene matchers with Vitest's `expect`.
Call once from your Vitest setup file:
```ts
// vitest-setup.ts
import { setup } from 'foldkit/test/vitest'
setup()
```
Importing this module also augments `Assertion<R, T>` with the Scene
matcher types — no manual `declare module 'vitest'` block needed.
setup: () => void