diff options
author | 2023-09-19 05:50:23 -0700 | |
---|---|---|
committer | 2023-09-19 05:50:23 -0700 | |
commit | 19fc8ecba275c52bf0c4cb96c414950b0d4dd5bc (patch) | |
tree | 6d53e110d1a69a73af51fd9ba74cc2805b0d4eb9 /test | |
parent | ed9e64805feab8e84b2debf09534c7eaa23574c4 (diff) | |
download | bun-19fc8ecba275c52bf0c4cb96c414950b0d4dd5bc.tar.gz bun-19fc8ecba275c52bf0c4cb96c414950b0d4dd5bc.tar.zst bun-19fc8ecba275c52bf0c4cb96c414950b0d4dd5bc.zip |
Fixes #3712 (#5730)
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/js/bun/sqlite/sqlite.test.js | 3 |
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()", () => { |