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 429 B
import { encodeNodeType, decodeNodeType } from "../../src/nodeType"; import { createRoundtripTest } from "./roundtrip"; describe("NodeTypeName roundtrip", () => { const roundtrip = createRoundtripTest(encodeNodeType, decodeNodeType); test("roundtrips leaf", () => { roundtrip("leaf"); }); test("roundtrips parent", () => { roundtrip("parent"); }); }); //# sourceMappingURL=nodeType.test.js.map