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 464 B
import { encodeContentType, decodeContentType } from "../../src/contentType"; import { createRoundtripTest } from "./roundtrip"; describe("ContentTypeName roundtrip", () => { const roundtrip = createRoundtripTest(encodeContentType, decodeContentType); test("roundtrips minimal", () => { roundtrip("application"); }); test("roundtrips nontrivial", () => { roundtrip("commit"); }); }); //# sourceMappingURL=contentType.test.js.map