MCPcopy Create free account
hub / github.com/Effect-TS/effect / assertParseFailure

Function assertParseFailure

packages/sql/pg/test/PgProtocol.test.ts:30–31  ·  view source on GitHub ↗
(golden: string)

Source from the content-addressed store, hash-verified

28}
29
30const assertParseFailure = (golden: string): void =>
31 assertThrowsTagged("PgProtocolParseError", () => PgProtocol.makeParser().push(bytes(golden)))
32
33describe("PgProtocol", () => {
34 describe("special messages", () => {

Callers 1

PgProtocol.test.tsFile · 0.85

Calls 3

bytesFunction · 0.90
assertThrowsTaggedFunction · 0.70
pushMethod · 0.65

Tested by

no test coverage detected