Skip to content

Commit 0ac07e9

Browse files
committed
Fix test
1 parent 7ea7b2a commit 0ac07e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/txn.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe("txn", () => {
5757
);
5858
let resRdf = res.getRdf_asB64();
5959
let buff = Buffer.from(resRdf, "base64");
60-
expect(buff).toEqual("Alice");
60+
expect(buff.toString("utf-8")).toEqual("Alice");
6161

6262
res = await client
6363
.newTxn()
@@ -70,7 +70,7 @@ describe("txn", () => {
7070
);
7171
resRdf = res.getRdf_asB64();
7272
buff = Buffer.from(resRdf, "base64");
73-
expect(buff).toEqual("Alice");
73+
expect(buff.toString("utf-8")).toEqual("Alice");
7474
});
7575

7676
it("should ignore properties with non-string values", async () => {

0 commit comments

Comments
 (0)