js-libp2p-noise/test/index.test.ts
2019-10-30 15:02:03 +01:00

10 lines
258 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/1.0.0');
expect(typeof(encrypt)).to.equal('function');
})
});