mirror of
https://github.com/fluencelabs/js-libp2p-tcp
synced 2025-04-24 23:12:22 +00:00
chore: prefer const over let (#99)
Prefer const over let when the binding is static, in order to comply with an upcoming Standard rule.
This commit is contained in:
parent
3aad2ed243
commit
3ab43a3604
@ -8,7 +8,7 @@ const TCP = require('../src')
|
||||
describe('interface-transport compliance', () => {
|
||||
tests({
|
||||
setup (cb) {
|
||||
let tcp = new TCP()
|
||||
const tcp = new TCP()
|
||||
const addrs = [
|
||||
multiaddr('/ip4/127.0.0.1/tcp/9091'),
|
||||
multiaddr('/ip4/127.0.0.1/tcp/9092'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user