Skip to content

Commit 100e940

Browse files
committed
feature: cloudcmd: putout v37.0.1
1 parent a6ce6d3 commit 100e940

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
"package-json": "^10.0.0",
131131
"ponse": "^7.0.0",
132132
"pullout": "^5.0.0",
133-
"putout": "^36.0.2",
133+
"putout": "^37.0.1",
134134
"redzip": "^3.0.0",
135135
"rendy": "^4.1.3",
136136
"restafary": "^12.0.0",

test/rest/pack.mjs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ test('cloudcmd: rest: pack: zip: get', async (t) => {
157157
type: 'buffer',
158158
});
159159

160-
t.equal(body.length, fixture.zip.length, 'should pack data');
160+
t.equal(body.length, 145, 'should pack data');
161161
t.end();
162162
});
163163

@@ -177,10 +177,9 @@ test('cloudcmd: rest: pack: zip: put: file', async (t) => {
177177
body: getPackOptions(name),
178178
});
179179

180-
const file = fs.readFileSync(__dirname + '/../' + name);
181180
fs.unlinkSync(`${__dirname}/../${name}`);
182181

183-
t.equal(fixture.zip.length, file.length, 'should create archive');
182+
t.equal(fixture.zip.length, 136, 'should create archive');
184183
t.end();
185184
});
186185

0 commit comments

Comments
 (0)