UNPKG

supabase-test

Version:

supabase-test offers isolated, role-aware, and rollback-friendly PostgreSQL environments for integration tests — giving developers realistic test coverage without external state pollution

10 lines (9 loc) 433 B
import { PgTestClient } from '../test-client'; import { SeedAdapter } from './types'; interface CsvSeedMap { [tableName: string]: string; } export declare function csv(tables: CsvSeedMap): SeedAdapter; export declare function copyCsvIntoTable(pg: PgTestClient, table: string, filePath: string): Promise<void>; export declare function exportTableToCsv(pg: PgTestClient, table: string, filePath: string): Promise<void>; export {};