MCPcopy Create free account
hub / github.com/PostHog/duckgres / fail

Function fail

scripts/client-compat/clients/node-postgres/test_node_postgres.js:63–68  ·  view source on GitHub ↗
(name, reason)

Source from the content-addressed store, hash-verified

61}
62
63async function fail(name, reason) {
64 failed++;
65 errors.push([name, reason]);
66 console.log(` FAIL ${name}: ${reason}`);
67 await report(currentSuite, name, "fail", reason);
68}
69
70function setSuite(suite) {
71 currentSuite = suite;

Callers 5

testConnectionPropertiesFunction · 0.85
testSharedQueriesFunction · 0.85
testDdlDmlFunction · 0.85
testPreparedStatementsFunction · 0.85
testResultMetadataFunction · 0.85

Calls 1

reportFunction · 0.85

Tested by

no test coverage detected