UNPKG

pgsql-test

Version:

pgsql-test offers isolated, role-aware, and rollback-friendly PostgreSQL environments for integration tests — giving developers realistic test coverage without external state pollution

12 lines (11 loc) 327 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.pgpm = pgpm; const pgsql_seed_1 = require("pgsql-seed"); function pgpm(cwd, cache = false) { return { async seed(ctx) { await (0, pgsql_seed_1.deployPgpm)(ctx.config, cwd ?? ctx.connect.cwd, cache); } }; }