spec as a module
though imports still aren't working right :P
This commit is contained in:
@@ -1,5 +0,0 @@
|
|||||||
describe("hello", function() {
|
|
||||||
it("world", function() {
|
|
||||||
expect(true).toBe(true)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
21
spec/indexeddb_spec.mjs
Normal file
21
spec/indexeddb_spec.mjs
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
|
||||||
|
|
||||||
|
describe("IndexedDB Abstractions", function () {
|
||||||
|
|
||||||
|
beforeAll(async function () {
|
||||||
|
try {
|
||||||
|
const mod = await import("../scripts/indexed-db.js")
|
||||||
|
SlopDB = mod.SlopDB
|
||||||
|
} catch (err) {
|
||||||
|
it("works?", function () {
|
||||||
|
fail(err)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
it("lol", function() {
|
||||||
|
expect(false).toBeTrue()
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user