yet again, spending time trying to use an llm as intended was wasted. RTFM
https://jasmine.github.io/setup/browser.html#es-module-support
This commit is contained in:
@@ -1,21 +1,7 @@
|
|||||||
|
import { SlopDB } from "../scripts/indexed-db.mjs"
|
||||||
|
|
||||||
|
describe("sanity check", () => {
|
||||||
describe("IndexedDB Abstractions", function () {
|
it("works", () => {
|
||||||
|
expect(true).toBeTrue()
|
||||||
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()
|
|
||||||
})
|
|
||||||
|
|
||||||
|
|
||||||
})
|
})
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
export default {
|
export default {
|
||||||
srcDir: "scripts",
|
srcDir: ".",
|
||||||
// srcFiles should usually be left empty when using ES modules, because you'll
|
// srcFiles should usually be left empty when using ES modules, because you'll
|
||||||
// explicitly import sources from your specs.
|
// explicitly import sources from your specs.
|
||||||
srcFiles: [],
|
srcFiles: [],
|
||||||
specDir: "./spec",
|
specDir: ".",
|
||||||
specFiles: [
|
specFiles: [
|
||||||
"**/*[sS]pec.?(m)js"
|
"spec/**/*[sS]pec.?(m)js"
|
||||||
],
|
],
|
||||||
helpers: [
|
helpers: [
|
||||||
"spec/helpers/**/*.?(m)js"
|
"spec/helpers/**/*.?(m)js"
|
||||||
|
|||||||
Reference in New Issue
Block a user