Unit test fixes

This commit is contained in:
sgraves committed 2021-07-30 18:46:07 -05:00
1 parent b58bfcf1e1
commit 8fac2361ac
1 file changed
+1 -1
+1 -1
View File
@@ -4,7 +4,7 @@ test('can construct a packet', () => {
const p = new packet('my password');
console.log(p);
expect(p.token).toEqual('my password');
expect(p.buffer).toBeNull();
expect(p.buffer).toEqual(new Uint8Array(0));
expect(p.decode_offset).toEqual(0);
});