ts-mls
Version:
[](https://github.com/LukaJCB/ts-mls/actions/workflows/ci.yml) [](https://badge.fury.io/js/ts-mls) [ };
const nontrivial = {
credentialType: "x509",
certificates: [new Uint8Array([4, 5, 6]), new Uint8Array([7, 8, 9, 10])],
};
describe("Credential roundtrip", () => {
const roundtrip = createRoundtripTest(encodeCredential, decodeCredential);
test("roundtrips minimal", () => {
roundtrip(minimal);
});
test("roundtrips nontrivial", () => {
roundtrip(nontrivial);
});
});
//# sourceMappingURL=credential.test.js.map