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

21 lines 762 B
import { encodeWireformat, decodeWireformat } from "../../src/wireformat"; import { createRoundtripTest } from "./roundtrip"; describe("WireformatName roundtrip", () => { const roundtrip = createRoundtripTest(encodeWireformat, decodeWireformat); test("roundtrips mls_public_message", () => { roundtrip("mls_public_message"); }); test("roundtrips mls_private_message", () => { roundtrip("mls_private_message"); }); test("roundtrips mls_welcome", () => { roundtrip("mls_welcome"); }); test("roundtrips group_info", () => { roundtrip("mls_group_info"); }); test("roundtrips mls_key_package", () => { roundtrip("mls_key_package"); }); }); //# sourceMappingURL=wireformat.test.js.map