mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-04-25 18:32:22 +00:00
10 lines
258 B
TypeScript
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');
|
|
})
|
|
});
|