UNPKG

@clickup/ent-framework

Version:

A PostgreSQL graph-database-alike library with microsharding and row-level security

8 lines (6 loc) 236 B
import { inspectCompact } from "../../internal/misc"; import { PgError } from "../PgError"; test("sql", () => { const error = new PgError(Error("test"), "some", "SELECT 1"); expect(inspectCompact(error)).not.toContain("sql:"); });