Skip to content

Commit

Permalink
remove dummy test
Browse files Browse the repository at this point in the history
  • Loading branch information
elisherer committed Sep 23, 2024
1 parent 19c2d4c commit d6b428c
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
import { describe, expect, test } from "vitest";
import DocumentContext from "../DocumentContext";
import TextEncoding from "../functions/common/TextEncoding";

describe("DocumentContext", () => {
test("asda", () => {
const X =
"hello%FE%FF%00%2Bunicode%FE%FF%00%2B%D8%3D%DE%00%D8%3D%DC%68%20%0D%D8%3D%DC%69%20%0D%D8%3D%DC%67%20%0D%D8%3D%DC%66%D8%3E%DE%AC";
const u = new URLSearchParams("?x=" + X);
expect(u.get("x")).toBe("hello+unicode+πŸ˜€πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦πŸͺ¬");
/// expect(TextEncoding.decode(u8a, "UTF-16")).toBe("hello+unicode+πŸ˜€πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦πŸͺ¬");
});

test("Query root", () => {
const obj = { x: 1 };
const dc = new DocumentContext(obj);
Expand Down

0 comments on commit d6b428c

Please sign in to comment.