MCPcopy
hub / github.com/tinyplex/tinybase / sqlCheck

Function sqlCheck

test/unit/persisters/database/tabular.test.ts:38–42  ·  view source on GitHub ↗
(sqlLogs: [string, any[]?][], sql: [string, any[]?][])

Source from the content-addressed store, hash-verified

36 ? (v: any) => JSON.stringify(v)
37 : (v: any) => v;
38 const sqlCheck = (sqlLogs: [string, any[]?][], sql: [string, any[]?][]) => {
39 if (!skipSqlChecks) {
40 expect(sqlLogs).toEqual(sql);
41 }
42 };
43
44 let db: any;
45 let store: Store;

Callers 1

tabular.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…