Skip to content

Commit c81692d

Browse files
committed
chore: add options for start daemon
1 parent f6b4db6 commit c81692d

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

test/dht/content-fetching/go2go.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe.skip('dht.contentFetching', () => {
1515
before(async function () {
1616
this.timeout(20 * 1000)
1717

18-
daemons = await spawnDaemons(2, 'go')
18+
daemons = await spawnDaemons(2, 'go', { dht: true })
1919

2020
// connect them
2121
const identify0 = await daemons[0].client.identify()

test/dht/content-fetching/go2js.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe.skip('dht.contentFetching', () => {
1515
before(async function () {
1616
this.timeout(20 * 1000)
1717

18-
daemons = await spawnDaemons(2, ['go', 'js'])
18+
daemons = await spawnDaemons(2, ['go', 'js'], { dht: true })
1919

2020
// connect them
2121
const identify0 = await daemons[0].client.identify()

test/dht/content-fetching/js2go.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe.skip('dht.contentFetching', () => {
1515
before(async function () {
1616
this.timeout(20 * 1000)
1717

18-
daemons = await spawnDaemons(2, ['js', 'go'])
18+
daemons = await spawnDaemons(2, ['js', 'go'], { dht: true })
1919

2020
// connect them
2121
const identify0 = await daemons[0].client.identify()

test/dht/content-fetching/js2js.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('dht.contentFetching', () => {
1515
before(async function () {
1616
this.timeout(20 * 1000)
1717

18-
daemons = await spawnDaemons(2, 'js')
18+
daemons = await spawnDaemons(2, 'js', { dht: true })
1919

2020
// connect them
2121
const identify0 = await daemons[0].client.identify()

test/dht/content-routing/go2go.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('dht.contentRouting', () => {
1717
before(async function () {
1818
this.timeout(20 * 1000)
1919

20-
daemons = await spawnDaemons(2, 'go')
20+
daemons = await spawnDaemons(2, 'go', { dht: true })
2121

2222
// connect them
2323
identify0 = await daemons[0].client.identify()

test/dht/content-routing/go2js.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('dht.contentRouting', () => {
1717
before(async function () {
1818
this.timeout(20 * 1000)
1919

20-
daemons = await spawnDaemons(2, ['go', 'js'])
20+
daemons = await spawnDaemons(2, ['go', 'js'], { dht: true })
2121

2222
// connect them
2323
identify0 = await daemons[0].client.identify()

test/dht/content-routing/js2go.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('dht.contentRouting', () => {
1717
before(async function () {
1818
this.timeout(20 * 1000)
1919

20-
daemons = await spawnDaemons(2, ['js', 'go'])
20+
daemons = await spawnDaemons(2, ['js', 'go'], { dht: true })
2121

2222
// connect them
2323
identify0 = await daemons[0].client.identify()

test/dht/content-routing/js2js.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('dht.contentRouting', () => {
1717
before(async function () {
1818
this.timeout(20 * 1000)
1919

20-
daemons = await spawnDaemons(2, 'js')
20+
daemons = await spawnDaemons(2, 'js', { dht: true })
2121

2222
// connect them
2323
identify0 = await daemons[0].client.identify()

test/dht/peer-routing/go2go.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('dht.peerRouting', () => {
1515
before(async function () {
1616
this.timeout(20 * 1000)
1717

18-
daemons = await spawnDaemons(3, 'go')
18+
daemons = await spawnDaemons(3, 'go', { dht: true })
1919
})
2020

2121
// Stop daemons

test/dht/peer-routing/go2js.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('dht.peerRouting', () => {
1515
before(async function () {
1616
this.timeout(20 * 1000)
1717

18-
daemons = await spawnDaemons(3, ['go', 'go', 'js'])
18+
daemons = await spawnDaemons(3, ['go', 'go', 'js'], { dht: true })
1919
})
2020

2121
// Stop daemons

test/dht/peer-routing/js2go.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('dht.peerRouting', () => {
1515
before(async function () {
1616
this.timeout(20 * 1000)
1717

18-
daemons = await spawnDaemons(3, ['js', 'js', 'go'])
18+
daemons = await spawnDaemons(3, ['js', 'js', 'go'], { dht: true })
1919
})
2020

2121
// Stop daemons

test/dht/peer-routing/js2js.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('dht.peerRouting', () => {
1515
before(async function () {
1616
this.timeout(20 * 1000)
1717

18-
daemons = await spawnDaemons(3, 'js')
18+
daemons = await spawnDaemons(3, 'js', { dht: true })
1919
})
2020

2121
// Stop daemons

0 commit comments

Comments
 (0)