ts-mls
Version:
[](https://github.com/LukaJCB/ts-mls/actions/workflows/ci.yml) [](https://badge.fury.io/js/ts-mls) [ => {
const roundtrip = createRoundtripTest(encodeProposalOrRef, decodeProposalOrRef);
test("roundtrips proposal", () => {
roundtrip({ proposalOrRefType: "proposal", proposal: { proposalType: "remove", remove: { removed: 1 } } });
});
test("roundtrips reference", () => {
roundtrip({ proposalOrRefType: "reference", reference: new Uint8Array([1, 2, 3, 4, 5]) });
});
});
//# sourceMappingURL=proposalOrRef.test.js.map