18 lines
435 B
TypeScript
18 lines
435 B
TypeScript
/**
|
|
* Vitest globalSetup — registers the Postgres fixture in the
|
|
* globalSetup process's module scope.
|
|
*
|
|
* @module
|
|
*/
|
|
import { createIntegrationSetup } from "@suaveplan/testing-integration";
|
|
import { PostgresFixture } from "@suaveplan/testing-integration-postgres";
|
|
|
|
createIntegrationSetup({
|
|
postgres: new PostgresFixture(),
|
|
});
|
|
|
|
export {
|
|
setup,
|
|
teardown,
|
|
} from "@suaveplan/testing-integration/setup/global-setup";
|