/** * Vitest globalSetup — registers the SurrealDB fixture in the globalSetup * process's module scope, then re-exports the testing-integration * `setup`/`teardown` contract. * * The same module pattern used by `@suaveplan/surrealdb` integration tests: * vitest's `globalSetup` runs in a separate process from the worker pool, so * the fixture must be registered in THIS file (which the globalSetup process * loads) for `createIntegrationSetup`'s registry to be populated when * `setup`/`teardown` run. * * @module */ import { createIntegrationSetup } from "@suaveplan/testing-integration"; import { SurrealDBFixture } from "@suaveplan/testing-integration-surrealdb"; createIntegrationSetup({ surrealdb: new SurrealDBFixture(), }); export { setup, teardown, } from "@suaveplan/testing-integration/setup/global-setup";