This repository was archived by the owner on Aug 12, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,9 @@ const exporter = unixFSEngine.exporter
16
16
const smallFile = loadFixture ( __dirname , 'fixtures/200Bytes.txt' )
17
17
18
18
module . exports = ( repo ) => {
19
- describe ( 'exporter' , ( ) => {
19
+ describe ( 'exporter' , function ( ) {
20
+ this . timeout ( 10 * 1000 )
21
+
20
22
let ipldResolver
21
23
22
24
before ( ( ) => {
@@ -52,7 +54,7 @@ module.exports = (repo) => {
52
54
fileEql ( files [ 1 ] , smallFile , done )
53
55
} )
54
56
)
55
- } ) . timeout ( 10 * 1000 )
57
+ } )
56
58
57
59
it ( 'export a non existing file' , ( done ) => {
58
60
const hash = 'QmWChcSFMNcFkfeJtNd8Yru1rE6PhtCRfewi1tMwjkwKjN/doesnotexist'
@@ -65,7 +67,7 @@ module.exports = (repo) => {
65
67
done ( )
66
68
} )
67
69
)
68
- } ) . timeout ( 10 * 1000 )
70
+ } )
69
71
70
72
it ( 'exports starting from non-protobuf node' , ( done ) => {
71
73
const doc = { a : { file : new CID ( 'QmWChcSFMNcFkfeJtNd8Yru1rE6PhtCRfewi1tMwjkwKjN' ) } }
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ const strategyOverrides = {
107
107
108
108
}
109
109
110
- describe ( 'with dag-api' , function ( ) {
110
+ describe ( 'with dag-api' , function ( ) {
111
111
// TODO: waiting for IPFS support on windows, https://github.com/ipfs/js-ipfs-unixfs-engine/issues/196
112
112
if ( os . platform ( ) === 'win32' ) {
113
113
return
You can’t perform that action at this time.
0 commit comments