This repository was archived by the owner on Mar 10, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +72
-36
lines changed Expand file tree Collapse file tree 3 files changed +72
-36
lines changed Original file line number Diff line number Diff line change @@ -67,42 +67,54 @@ module.exports = (createCommon, options) => {
67
67
expect ( err ) . to . not . exist ( )
68
68
69
69
expect ( files ) . to . eql ( [
70
- { depth : 1 ,
70
+ {
71
+ depth : 1 ,
71
72
name : 'alice.txt' ,
72
73
path : 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/alice.txt' ,
73
74
size : 11685 ,
74
75
hash : 'QmZyUEQVuRK3XV7L9Dk26pg6RVSgaYkiSTEdnT2kZZdwoi' ,
75
- type : 'file' } ,
76
- { depth : 1 ,
76
+ type : 'file'
77
+ } ,
78
+ {
79
+ depth : 1 ,
77
80
name : 'empty-folder' ,
78
81
path : 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/empty-folder' ,
79
82
size : 0 ,
80
83
hash : 'QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn' ,
81
- type : 'dir' } ,
82
- { depth : 1 ,
84
+ type : 'dir'
85
+ } ,
86
+ {
87
+ depth : 1 ,
83
88
name : 'files' ,
84
89
path : 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/files' ,
85
90
size : 0 ,
86
91
hash : 'QmZ25UfTqXGz9RsEJFg7HUAuBcmfx5dQZDXQd2QEZ8Kj74' ,
87
- type : 'dir' } ,
88
- { depth : 1 ,
92
+ type : 'dir'
93
+ } ,
94
+ {
95
+ depth : 1 ,
89
96
name : 'holmes.txt' ,
90
97
path : 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/holmes.txt' ,
91
98
size : 581878 ,
92
99
hash : 'QmR4nFjTu18TyANgC65ArNWp5Yaab1gPzQ4D8zp7Kx3vhr' ,
93
- type : 'file' } ,
94
- { depth : 1 ,
100
+ type : 'file'
101
+ } ,
102
+ {
103
+ depth : 1 ,
95
104
name : 'jungle.txt' ,
96
105
path : 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/jungle.txt' ,
97
106
size : 2294 ,
98
107
hash : 'QmT6orWioMiSqXXPGsUi71CKRRUmJ8YkuueV2DPV34E9y9' ,
99
- type : 'file' } ,
100
- { depth : 1 ,
108
+ type : 'file'
109
+ } ,
110
+ {
111
+ depth : 1 ,
101
112
name : 'pp.txt' ,
102
113
path : 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/pp.txt' ,
103
114
size : 4540 ,
104
115
hash : 'QmVwdDCY4SPGVFnNCiZnX5CtzwWDn6kAM98JXzKxE3kCmn' ,
105
- type : 'file' }
116
+ type : 'file'
117
+ }
106
118
] )
107
119
done ( )
108
120
} )
Original file line number Diff line number Diff line change @@ -63,42 +63,54 @@ module.exports = (createCommon, options) => {
63
63
64
64
stream . pipe ( concat ( ( files ) => {
65
65
expect ( files ) . to . eql ( [
66
- { depth : 1 ,
66
+ {
67
+ depth : 1 ,
67
68
name : 'alice.txt' ,
68
69
path : 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/alice.txt' ,
69
70
size : 11685 ,
70
71
hash : 'QmZyUEQVuRK3XV7L9Dk26pg6RVSgaYkiSTEdnT2kZZdwoi' ,
71
- type : 'file' } ,
72
- { depth : 1 ,
72
+ type : 'file'
73
+ } ,
74
+ {
75
+ depth : 1 ,
73
76
name : 'empty-folder' ,
74
77
path : 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/empty-folder' ,
75
78
size : 0 ,
76
79
hash : 'QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn' ,
77
- type : 'dir' } ,
78
- { depth : 1 ,
80
+ type : 'dir'
81
+ } ,
82
+ {
83
+ depth : 1 ,
79
84
name : 'files' ,
80
85
path : 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/files' ,
81
86
size : 0 ,
82
87
hash : 'QmZ25UfTqXGz9RsEJFg7HUAuBcmfx5dQZDXQd2QEZ8Kj74' ,
83
- type : 'dir' } ,
84
- { depth : 1 ,
88
+ type : 'dir'
89
+ } ,
90
+ {
91
+ depth : 1 ,
85
92
name : 'holmes.txt' ,
86
93
path : 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/holmes.txt' ,
87
94
size : 581878 ,
88
95
hash : 'QmR4nFjTu18TyANgC65ArNWp5Yaab1gPzQ4D8zp7Kx3vhr' ,
89
- type : 'file' } ,
90
- { depth : 1 ,
96
+ type : 'file'
97
+ } ,
98
+ {
99
+ depth : 1 ,
91
100
name : 'jungle.txt' ,
92
101
path : 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/jungle.txt' ,
93
102
size : 2294 ,
94
103
hash : 'QmT6orWioMiSqXXPGsUi71CKRRUmJ8YkuueV2DPV34E9y9' ,
95
- type : 'file' } ,
96
- { depth : 1 ,
104
+ type : 'file'
105
+ } ,
106
+ {
107
+ depth : 1 ,
97
108
name : 'pp.txt' ,
98
109
path : 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/pp.txt' ,
99
110
size : 4540 ,
100
111
hash : 'QmVwdDCY4SPGVFnNCiZnX5CtzwWDn6kAM98JXzKxE3kCmn' ,
101
- type : 'file' }
112
+ type : 'file'
113
+ }
102
114
] )
103
115
done ( )
104
116
} ) )
Original file line number Diff line number Diff line change @@ -66,42 +66,54 @@ module.exports = (createCommon, options) => {
66
66
expect ( err ) . to . not . exist ( )
67
67
68
68
expect ( files ) . to . eql ( [
69
- { depth : 1 ,
69
+ {
70
+ depth : 1 ,
70
71
name : 'alice.txt' ,
71
72
path : 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/alice.txt' ,
72
73
size : 11685 ,
73
74
hash : 'QmZyUEQVuRK3XV7L9Dk26pg6RVSgaYkiSTEdnT2kZZdwoi' ,
74
- type : 'file' } ,
75
- { depth : 1 ,
75
+ type : 'file'
76
+ } ,
77
+ {
78
+ depth : 1 ,
76
79
name : 'empty-folder' ,
77
80
path : 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/empty-folder' ,
78
81
size : 0 ,
79
82
hash : 'QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn' ,
80
- type : 'dir' } ,
81
- { depth : 1 ,
83
+ type : 'dir'
84
+ } ,
85
+ {
86
+ depth : 1 ,
82
87
name : 'files' ,
83
88
path : 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/files' ,
84
89
size : 0 ,
85
90
hash : 'QmZ25UfTqXGz9RsEJFg7HUAuBcmfx5dQZDXQd2QEZ8Kj74' ,
86
- type : 'dir' } ,
87
- { depth : 1 ,
91
+ type : 'dir'
92
+ } ,
93
+ {
94
+ depth : 1 ,
88
95
name : 'holmes.txt' ,
89
96
path : 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/holmes.txt' ,
90
97
size : 581878 ,
91
98
hash : 'QmR4nFjTu18TyANgC65ArNWp5Yaab1gPzQ4D8zp7Kx3vhr' ,
92
- type : 'file' } ,
93
- { depth : 1 ,
99
+ type : 'file'
100
+ } ,
101
+ {
102
+ depth : 1 ,
94
103
name : 'jungle.txt' ,
95
104
path : 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/jungle.txt' ,
96
105
size : 2294 ,
97
106
hash : 'QmT6orWioMiSqXXPGsUi71CKRRUmJ8YkuueV2DPV34E9y9' ,
98
- type : 'file' } ,
99
- { depth : 1 ,
107
+ type : 'file'
108
+ } ,
109
+ {
110
+ depth : 1 ,
100
111
name : 'pp.txt' ,
101
112
path : 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/pp.txt' ,
102
113
size : 4540 ,
103
114
hash : 'QmVwdDCY4SPGVFnNCiZnX5CtzwWDn6kAM98JXzKxE3kCmn' ,
104
- type : 'file' }
115
+ type : 'file'
116
+ }
105
117
] )
106
118
done ( )
107
119
} )
You can’t perform that action at this time.
0 commit comments