UNPKG

ts-mls

Version:

[![CI](https://github.com/LukaJCB/ts-mls/actions/workflows/ci.yml/badge.svg)](https://github.com/LukaJCB/ts-mls/actions/workflows/ci.yml) [![npm version](https://badge.fury.io/js/ts-mls.svg)](https://badge.fury.io/js/ts-mls) [![Coverage Status](https://co

13 lines 540 B
import { encodeParentHashInput, decodeParentHashInput } from "../../src/parentHash"; import { createRoundtripTest } from "./roundtrip"; describe("ParentHashInput roundtrip", () => { const roundtrip = createRoundtripTest(encodeParentHashInput, decodeParentHashInput); test("roundtrips", () => { roundtrip({ encryptionKey: new Uint8Array([1]), parentHash: new Uint8Array([2]), originalSiblingTreeHash: new Uint8Array([3]), }); }); }); //# sourceMappingURL=parentHash.test.js.map