This repository was archived by the owner on Feb 12, 2024. It is now read-only.
File tree 1 file changed +18
-14
lines changed
1 file changed +18
-14
lines changed 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 ( )
@@ -83,7 +89,7 @@ function addNode (inProcNode, callback) {
83
89
} )
84
90
}
85
91
86
- describe ( 'bitswap' , function ( ) {
92
+ describe . only ( 'bitswap' , function ( ) {
87
93
this . timeout ( 80 * 1000 )
88
94
89
95
let inProcNode // Node spawned inside this process
@@ -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