diff options
author | 2023-01-12 13:20:10 -0800 | |
---|---|---|
committer | 2023-01-12 13:20:10 -0800 | |
commit | 38f9bb96df7c0a253f5e26ad81c88a0a1179a0d3 (patch) | |
tree | 3e70c7d3d5b8285d5c81d9158fc77fbb9589c099 | |
parent | 6e0ec3248fb9dfa9264a9423b418fef690e0f4b4 (diff) | |
download | bun-38f9bb96df7c0a253f5e26ad81c88a0a1179a0d3.tar.gz bun-38f9bb96df7c0a253f5e26ad81c88a0a1179a0d3.tar.zst bun-38f9bb96df7c0a253f5e26ad81c88a0a1179a0d3.zip |
use .skip() for failing test
-rw-r--r-- | test/bun.js/inspect.test.js | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/test/bun.js/inspect.test.js b/test/bun.js/inspect.test.js index 43f7536ef..738442211 100644 --- a/test/bun.js/inspect.test.js +++ b/test/bun.js/inspect.test.js @@ -30,26 +30,25 @@ it("Blob inspect", () => { }`); }); -// this test is currently failing! -// it("utf16 property name", () => { -// var { Database } = require("bun:sqlite"); -// const db = Database.open(":memory:"); -// expect("笑".codePointAt(0)).toBe(31505); +it.skip("utf16 property name", () => { + var { Database } = require("bun:sqlite"); + const db = Database.open(":memory:"); + expect("笑".codePointAt(0)).toBe(31505); -// // latin1 escaping identifier issue -// expect(Object.keys({ 笑: "hey" })[0].codePointAt(0)).toBe(31505); + // latin1 escaping identifier issue + expect(Object.keys({ 笑: "hey" })[0].codePointAt(0)).toBe(31505); -// const output = JSON.stringify( -// [ -// { -// 笑: "😀", -// }, -// ], -// null, -// 2, -// ); -// expect(Bun.inspect(db.prepare("select '😀' as 笑").all())).toBe(output); -// }); + const output = JSON.stringify( + [ + { + 笑: "😀", + }, + ], + null, + 2, + ); + expect(Bun.inspect(db.prepare("select '😀' as 笑").all())).toBe(output); +}); it("latin1", () => { expect(Bun.inspect("English")).toBe("English"); |