Skip to content

Commit

Permalink
refactor(schema): remove console.log from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
li0ard committed Oct 6, 2024
1 parent c2ab98a commit ef12f0e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/schema/test/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,6 @@ context("Test", () => {
const obj = new Test();
obj.value = new src.OctetString([1, 2, 3, 4, 5]);
const buf = src.AsnSerializer.serialize(obj);
console.log(Buffer.from(buf).toString("hex"))
assertBuffer(Buffer.from(buf), Buffer.from("30085f21050102030405", "hex"));
});

Expand Down Expand Up @@ -565,7 +564,6 @@ context("Test", () => {

it("parse", () => {
const obj = src.AsnParser.parse(new Uint8Array(Buffer.from("300b7f81180704050102030405", "hex")).buffer, Test);
console.log(obj)
assert.strictEqual(obj.value.byteLength, 5);
});

Expand Down

0 comments on commit ef12f0e

Please sign in to comment.