PgliteTemplate.setup.ts overview

Vitest globalSetup: builds one migrated PGlite data directory per run, in the main process where no hook timeout applies, so each test file opens its database with migratedPglite and skips initdb. Never published.


Exports Grouped by Category


utils

setup

Signature

declare const setup: (project: TestProject) => Promise<() => Promise<void>>

Source


This site uses Just the Docs, a documentation theme for Jekyll.