We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70f1663 commit 71c38f9Copy full SHA for 71c38f9
1 file changed
src/utils/smoke.test.ts
@@ -38,4 +38,19 @@ describe("database smoke", () => {
38
const res2 = await db().selectFrom("birthdays").selectAll().executeTakeFirstOrThrow();
39
expect(res).toStrictEqual(res2);
40
});
41
+
42
+ test("booleans supported?", async () => {
43
+ // TODO: Check if there is a builtin way of handling DB lifecycle
44
+ await createDatabase();
45
+ await using _ = defer(closeDatabase);
46
+ await db()
47
+ .insertInto("emoteUse")
48
+ .values({
49
+ channelId: "0",
50
+ emoteId: 0,
51
+ messageGuildId: "0",
52
+ isReaction: false,
53
+ })
54
+ .execute();
55
+ });
56
0 commit comments