mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-04-25 13:12:32 +00:00
Fix tag
This commit is contained in:
parent
8809365da2
commit
8e86b20a12
@ -1,6 +1,6 @@
|
||||
import { encrypt } from './encrypt';
|
||||
|
||||
const tag = '/noise/1.0.0';
|
||||
const tag = '/noise';
|
||||
|
||||
export {
|
||||
tag,
|
||||
|
@ -3,7 +3,7 @@ import { tag, encrypt} from "../src";
|
||||
|
||||
describe("Index", () => {
|
||||
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');
|
||||
})
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user