This repository was archived by the owner on Feb 12, 2024. It is now read-only.
File tree 2 files changed +18
-13
lines changed
2 files changed +18
-13
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ module.exports = {
11
11
served : true ,
12
12
included : false
13
13
} ] ,
14
+ browserNoActivityTimeout : 100 * 1000 ,
14
15
singleRun : true
15
16
} ,
16
17
hooks : {
Original file line number Diff line number Diff line change @@ -74,7 +74,13 @@ function addNode (inProcNode, callback) {
74
74
config : {
75
75
Addresses : {
76
76
Swarm : [ `/ip4/127.0.0.1/tcp/0/ws` ]
77
- }
77
+ } ,
78
+ Discovery : {
79
+ MDNS : {
80
+ Enabled : false
81
+ }
82
+ } ,
83
+ Bootstrap : [ ]
78
84
}
79
85
} , ( err , ipfsd ) => {
80
86
expect ( err ) . to . not . exist ( )
@@ -92,21 +98,19 @@ describe('bitswap', function () {
92
98
this . timeout ( 60 * 1000 )
93
99
94
100
let config = {
95
- config : {
96
- Addresses : {
97
- Swarm : [ ]
98
- } ,
99
- Discovery : {
100
- MDNS : {
101
- Enabled : false
102
- }
103
- } ,
104
- Bootstrap : [ ]
105
- }
101
+ Addresses : {
102
+ Swarm : [ ]
103
+ } ,
104
+ Discovery : {
105
+ MDNS : {
106
+ Enabled : false
107
+ }
108
+ } ,
109
+ Bootstrap : [ ]
106
110
}
107
111
108
112
if ( isNode ) {
109
- config = Object . assign ( config , {
113
+ config = Object . assign ( { } , config , {
110
114
config : {
111
115
Addresses : {
112
116
Swarm : [ '/ip4/127.0.0.1/tcp/0' ]
You can’t perform that action at this time.
0 commit comments