mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-04-26 09:32:18 +00:00
Fix tag
This commit is contained in:
parent
8809365da2
commit
8e86b20a12
@ -1,6 +1,6 @@
|
|||||||
import { encrypt } from './encrypt';
|
import { encrypt } from './encrypt';
|
||||||
|
|
||||||
const tag = '/noise/1.0.0';
|
const tag = '/noise';
|
||||||
|
|
||||||
export {
|
export {
|
||||||
tag,
|
tag,
|
||||||
|
@ -3,7 +3,7 @@ import { tag, encrypt} from "../src";
|
|||||||
|
|
||||||
describe("Index", () => {
|
describe("Index", () => {
|
||||||
it("should expose right tag and encrypt function", () => {
|
it("should expose right tag and encrypt function", () => {
|
||||||
expect(tag).to.equal('/noise/1.0.0');
|
expect(tag).to.equal('/noise');
|
||||||
expect(typeof(encrypt)).to.equal('function');
|
expect(typeof(encrypt)).to.equal('function');
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user