V0.5.9 Arroyo Toad
There's a bug during conversion from buffer to unix timestamp
This commit is contained in:
12
tests/main_test.ts
Normal file
12
tests/main_test.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { assertEquals } from "@std/assert";
|
||||
import { deserializerV1 } from "../src/utils/deserializer.ts";
|
||||
|
||||
|
||||
Deno.test(async function deserializerV1Test() {
|
||||
|
||||
const messageBuffer = (await Deno.readFile("./Private/Message.bin")).buffer
|
||||
const msg = deserializerV1(messageBuffer)
|
||||
console.log(msg.toString())
|
||||
//Assert
|
||||
|
||||
})
|
||||
Reference in New Issue
Block a user