aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/js/bun/sqlite/sqlite.test.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/js/bun/sqlite/sqlite.test.js b/test/js/bun/sqlite/sqlite.test.js
index 6bd72d8a8..00e7d87a1 100644
--- a/test/js/bun/sqlite/sqlite.test.js
+++ b/test/js/bun/sqlite/sqlite.test.js
@@ -268,6 +268,9 @@ it("supports serialize/deserialize", () => {
} catch (e) {
expect(e.message).toBe("attempt to write a readonly database");
}
+
+ // https://github.com/oven-sh/bun/issues/3712#issuecomment-1725259824
+ expect(Database.deserialize(input)).toBeInstanceOf(Database);
});
it("db.query()", () => {