(input: { readonly path: string; readonly scopeId: string })
| 838 | }; |
| 839 | |
| 840 | const assertV1SourceRows = async (input: { readonly path: string; readonly scopeId: string }) => { |
| 841 | expect(existsSync(input.path)).toBe(true); |
| 842 | const client = await openLocalLibsql(input.path); |
| 843 | const sources = await client.execute("SELECT scope_id, id FROM source"); |
| 844 | client.close(); |
| 845 | expect(sources.rows).toEqual([{ scope_id: input.scopeId, id: "stripe_api" }]); |
| 846 | }; |
| 847 | |
| 848 | const assertV2IntegrationRows = async (input: { |
| 849 | readonly path: string; |
no test coverage detected