This commit is contained in:
David Ventura
2024-04-30 23:11:27 +02:00
parent 690c1b4146
commit b653368d89
+2 -2
View File
@@ -135,11 +135,11 @@ describe("parse packet", () => {
prefix: "BATD", prefix: "BATD",
serial: "156362", serial: "156362",
suffix: "WONJM", suffix: "WONJM",
serialU64: bigint(156362), serialU64: BigInt(156362),
devId: "BATD156362WONJM", devId: "BATD156362WONJM",
}; };
assert.equal(parse_PunchPkt(pkt), expected); assert.deepEqual(parse_PunchPkt(pkt), expected);
}); });
}); });
describe("make packet", () => { describe("make packet", () => {