Files
slop-farmer-extension/spec/indexeddb_spec.js
2025-12-10 21:59:15 +00:00

21 lines
415 B
JavaScript

import { SlopDB } from "../scripts/indexed-db.js"
import { deleteDB } from "../scripts/idb/index.js"
describe("sanity check", () => {
it("works", () => {
expect(true).toBeTrue()
})
})
describe("SlopDB Version 1", () => {
beforeEach(async () => {
await deleteDB("SlopDB")
})
it("creates a version 1 indexeddb", async () => {
const slopdb_v1 = new SlopDB(1)
})
})