UNPKG

@nfen/webcrypto-ts

Version:
8 lines (6 loc) 231 B
import * as KeyUsages from "../key_usages.js"; describe("KeyUsages", () => { it("should throw when no key usage algorithm", async () => { expect(() => KeyUsages.getKeyUsagePairsByAlg("unknown")).toThrow(); }); });