1
0
silverbullet/plugos/lib/deno_kv_primitives.test.ts
Zef Hemel 0313565610
Complete redo of content indexing and querying (#517)
Complete redo of data store
Introduces live queries and live templates
2023-10-03 14:16:33 +02:00

11 lines
342 B
TypeScript

import { DenoKvPrimitives } from "./deno_kv_primitives.ts";
import { allTests } from "./kv_primitives.test.ts";
Deno.test("Test Deno KV Primitives", async () => {
const tmpFile = await Deno.makeTempFile();
const db = new DenoKvPrimitives(await Deno.openKv(tmpFile));
await allTests(db);
db.close();
await Deno.remove(tmpFile);
});