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

18 lines 645 B
import { encodeSenderType, decodeSenderType } from "../../src/sender"; import { createRoundtripTest } from "./roundtrip"; describe("SenderTypeName roundtrip", () => { const roundtrip = createRoundtripTest(encodeSenderType, decodeSenderType); test("roundtrips member", () => { roundtrip("member"); }); test("roundtrips external", () => { roundtrip("external"); }); test("roundtrips new_member_proposal", () => { roundtrip("new_member_proposal"); }); test("roundtrips new_member_commit", () => { roundtrip("new_member_commit"); }); }); //# sourceMappingURL=senderType.test.js.map