(dbPath: string)
| 164 | }; |
| 165 | |
| 166 | const 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 | |
| 176 | describe("local v1→v2 gate × data-migration ledger", () => { |
| 177 | // ------------------------------------------------------------------ |
no test coverage detected