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

15 lines 560 B
import { encodeLeafNodeSource, decodeLeafNodeSource } from "../../src/leafNodeSource"; import { createRoundtripTest } from "./roundtrip"; describe("LeafNodeSourceName roundtrip", () => { const roundtrip = createRoundtripTest(encodeLeafNodeSource, decodeLeafNodeSource); test("roundtrips key_package", () => { roundtrip("key_package"); }); test("roundtrips commit", () => { roundtrip("commit"); }); test("roundtrips update", () => { roundtrip("update"); }); }); //# sourceMappingURL=leafNodeSource.test.js.map