test(sql-file): sync streaming fallback spec schema expectation

This commit is contained in:
zipg authored and GitHub committed 2026-09-29 10:56:40 +08:00
1 parent 5fd7ab9ac7
commit fe6343310e
1 file changed
+2 -1
@@ -9,7 +9,7 @@ const mocks = vi.hoisted(() => ({
toast: vi.fn(),
store: {
connections: [] as { id: string; db_type: string }[],
sqlFileSource: null as { connectionId: string; database: string; filePath?: string } | null,
sqlFileSource: null as { connectionId: string; database: string; schema?: string; filePath?: string } | null,
getConfig: vi.fn(),
},
queryStore: {
@@ -85,6 +85,7 @@ describe("useLargeSqlFileStreamingFallback", () => {
expect(mocks.store.sqlFileSource).toEqual({
connectionId: "postgres-1",
database: "app",
schema: "reporting",
filePath: "/tmp/dbx_export.sql",
});
});