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