Skip to content

Commit 3add8ea

Browse files
committed
deno test was failing because I forgot to @ts-ignore the reassignment of the DEBUG.LOG enum
1 parent de0f8dd commit 3add8ea

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/deps.ts

+3
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ export const enum DEBUG {
2222
}
2323

2424
export const object_entries = Object.entries
25+
26+
// TODO: add multiple logging options: such as one for `Signal.get` logging, and one for `Context.updateFireCycle`, etc...
27+
// TODO: add a link to license in `readme.md`

test/simple_signal2.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Deno.test("test1", () => {
3535
})
3636

3737
Deno.test("test2", () => {
38+
// @ts-ignore: enums can't be modified, but we want to control our logging here
3839
DEBUG.LOG = 1
3940
setA(2)
4041
})

0 commit comments

Comments
 (0)