MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / expectV2WithContext7

Function expectV2WithContext7

apps/local/src/db/v1-v2-ledger.test.ts:166–174  ·  view source on GitHub ↗
(dbPath: string)

Source from the content-addressed store, hash-verified

164};
165
166const expectV2WithContext7 = async (dbPath: string) => {
167 const client = await openLocalLibsql(dbPath);
168 const integrations = await queryRows<{ tenant: string; slug: string; plugin_id: string }>(
169 client,
170 "SELECT tenant, slug, plugin_id FROM integration",
171 );
172 expect(integrations).toEqual([{ tenant: TENANT, slug: "context7", plugin_id: "mcp" }]);
173 client.close();
174};
175
176describe("local v1→v2 gate × data-migration ledger", () => {
177 // ------------------------------------------------------------------

Callers 1

Calls 2

openLocalLibsqlFunction · 0.90
closeMethod · 0.65

Tested by

no test coverage detected