ts-mls
Version:
[](https://github.com/LukaJCB/ts-mls/actions/workflows/ci.yml) [](https://badge.fury.io/js/ts-mls) [ => {
const roundtrip = createRoundtripTest(encodeCommit, decodeCommit);
test("roundtrips minimal", () => {
roundtrip({ proposals: [], path: undefined });
});
test("roundtrips nontrivial", () => {
roundtrip({
proposals: [{ proposalOrRefType: "proposal", proposal: { proposalType: "remove", remove: { removed: 1 } } }],
path: undefined,
});
});
});
//# sourceMappingURL=commit.test.js.map