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

12 lines 443 B
import { encodePskType, decodePskType } from "../../src/presharedkey"; import { createRoundtripTest } from "./roundtrip"; describe("PSKTypeName roundtrip", () => { const roundtrip = createRoundtripTest(encodePskType, decodePskType); test("roundtrips external", () => { roundtrip("external"); }); test("roundtrips resumption", () => { roundtrip("resumption"); }); }); //# sourceMappingURL=pskType.test.js.map