Files
plainleaf/client/data/indexeddb_kv_primitives.test.ts
T

12 lines
337 B
TypeScript

import { test } from "vitest";
import "fake-indexeddb/auto";
import { IndexedDBKvPrimitives } from "./indexeddb_kv_primitives.ts";
import { allTests } from "./kv_primitives.test.ts";
test("Test IDB key primitives", async () => {
const db = new IndexedDBKvPrimitives("test");
await db.init();
await allTests(db);
db.close();
});