js-libp2p-noise/test/index.test.ts

10 lines
252 B
TypeScript
Raw Normal View History

2019-10-30 15:02:03 +01:00
import { expect } from "chai";
import { tag, encrypt} from "../src";
describe("Index", () => {
it("should expose right tag and encrypt function", () => {
2019-10-31 14:29:16 +01:00
expect(tag).to.equal('/noise');
2019-10-30 15:02:03 +01:00
expect(typeof(encrypt)).to.equal('function');
})
});