import type { Evalite } from "../types.js"; export type StorageTestFactory = { name: string; factory: () => Promise; }; /** * Test utility that runs the same test suite against all registered storage. * Each test will be run with `it.each` for every storage in ADAPTERS_TO_TEST. * * @param name - Name of the test * @param testFn - Async function that receives a factory to create fresh storage instances * * @example * testStorage("creates run with correct runType", async (getStorage) => { * await using storage = await getStorage(); * const run = await storage.runs.create({ runType: "full" }); * expect(run.runType).toBe("full"); * }); */ export declare function testAllStorage(name: string, testFn: (getStorage: () => Promise) => Promise): void; //# sourceMappingURL=test-utils.d.ts.map