UNPKG

@clickup/ent-framework

Version:

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

13 lines (11 loc) 333 B
import { EntNotFoundError } from "../EntNotFoundError"; test("toStandardSchemaV1", () => { expect( JSON.stringify( new EntNotFoundError("EntTest", { field1: "loadByField1", field2: "loadByField2", }).toStandardSchemaV1(), ), ).toContain("loadByField1"); // OK to deliver it to the client });