This repository was archived by the owner on Mar 10, 2020. It is now read-only.
File tree 1 file changed +0
-20
lines changed
1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -39,23 +39,13 @@ module.exports = (common) => {
39
39
} )
40
40
41
41
it ( '.bitswap' , ( done ) => {
42
- if ( ! withGo ) {
43
- console . log ( 'Not supported in js-ipfs yet' )
44
- return done ( )
45
- }
46
-
47
42
ipfs . stats . bitswap ( ( err , res ) => {
48
43
statsTests . expectIsBitswap ( err , res )
49
44
done ( )
50
45
} )
51
46
} )
52
47
53
48
it ( '.bitswap Promise' , ( ) => {
54
- if ( ! withGo ) {
55
- console . log ( 'Not supported in js-ipfs yet' )
56
- return
57
- }
58
-
59
49
return ipfs . stats . bitswap ( ) . then ( ( res ) => {
60
50
statsTests . expectIsBitswap ( null , res )
61
51
} )
@@ -117,23 +107,13 @@ module.exports = (common) => {
117
107
} )
118
108
119
109
it ( '.repo' , ( done ) => {
120
- if ( ! withGo ) {
121
- console . log ( 'Not supported in js-ipfs yet' )
122
- return done ( )
123
- }
124
-
125
110
ipfs . stats . repo ( ( err , res ) => {
126
111
statsTests . expectIsRepo ( err , res )
127
112
done ( )
128
113
} )
129
114
} )
130
115
131
116
it ( '.repo Promise' , ( ) => {
132
- if ( ! withGo ) {
133
- console . log ( 'Not supported in js-ipfs yet' )
134
- return
135
- }
136
-
137
117
return ipfs . stats . repo ( ) . then ( ( res ) => {
138
118
statsTests . expectIsRepo ( null , res )
139
119
} )
You can’t perform that action at this time.
0 commit comments