Skip to content
This repository was archived by the owner on Aug 23, 2019. It is now read-only.

Commit 7f51231

Browse files
committed
fix: remove unused constant
1 parent f199867 commit 7f51231

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/circuit/constants.js

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ module.exports = {
77
},
88
RESPONSE: {
99
SUCCESS: 100,
10-
FAILURE: 500,
1110
HOP: {
1211
SRC_ADDR_TOO_LONG: 220,
1312
DST_ADDR_TOO_LONG: 221,

test/dialer.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ describe('dialer tests', function () {
125125
if (err) return done(err)
126126

127127
pull(
128-
pull.values([Buffer.from(String(constants.RESPONSE.FAILURE))]),
128+
pull.values([Buffer.from(String(500))]), // send arbitrary non 200 code
129129
lp.encode(),
130130
pull.collect((err, encoded) => {
131131
expect(err).to.be.null

0 commit comments

Comments
 (0)