js-libp2p-noise/test/index.test.ts
2019-10-31 14:29:24 +01:00

10 lines
252 B
TypeScript

import { expect } from "chai";
import { tag, encrypt} from "../src";
describe("Index", () => {
it("should expose right tag and encrypt function", () => {
expect(tag).to.equal('/noise');
expect(typeof(encrypt)).to.equal('function');
})
});