* use import_map.json instead of per-file import * remove test_deps.ts in favor of import_map * remove common/deps.ts in favor of import_map * use import_map instead of server/deps.ts * make all plug-api files usable without an import_map * make all lib files usable without an import_map * remove web/deps.ts in favor of import_map * fix plug build * remove plug-api/deps.ts in favor of lib/deps.ts * fix server deps bundled in client deps
14 lines
366 B
TypeScript
14 lines
366 B
TypeScript
import "fake-indexeddb/auto";
|
|
import { IndexedDBKvPrimitives } from "./indexeddb_kv_primitives.ts";
|
|
import { allTests } from "./kv_primitives.test.ts";
|
|
|
|
Deno.test("Test IDB key primitives", {
|
|
sanitizeResources: false,
|
|
sanitizeOps: false,
|
|
}, async () => {
|
|
const db = new IndexedDBKvPrimitives("test");
|
|
await db.init();
|
|
await allTests(db);
|
|
db.close();
|
|
});
|