Skip to content
Snippets Groups Projects
Commit 4c2ebfff authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] A test do not pass because of port usage

parent 4ac10bb0
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ describe("HTTP API", function() { ...@@ -49,7 +49,7 @@ describe("HTTP API", function() {
true, true,
{ {
ipv4: '127.0.0.1', ipv4: '127.0.0.1',
port: '7778', port: '30410',
currency: 'bb', currency: 'bb',
httpLogs: true, httpLogs: true,
sigQty: 1, sigQty: 1,
...@@ -289,7 +289,7 @@ describe("HTTP API", function() { ...@@ -289,7 +289,7 @@ describe("HTTP API", function() {
}); });
it('/peer (number 5,6,7) should send a peer document', () => co(function*() { it('/peer (number 5,6,7) should send a peer document', () => co(function*() {
const client = new ws('ws://127.0.0.1:7778/ws/peer'); const client = new ws('ws://127.0.0.1:30410/ws/peer');
let resolve5, resolve6, resolve7 let resolve5, resolve6, resolve7
const p5 = new Promise(res => resolve5 = res) const p5 = new Promise(res => resolve5 = res)
const p6 = new Promise(res => resolve6 = res) const p6 = new Promise(res => resolve6 = res)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment