mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-06-20 12:16:44 +00:00
Init project
This commit is contained in:
9
test/index.test.ts
Normal file
9
test/index.test.ts
Normal file
@ -0,0 +1,9 @@
|
||||
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');
|
||||
})
|
||||
});
|
Reference in New Issue
Block a user