mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature: cloudcmd: putout v37.0.1
This commit is contained in:
parent
a6ce6d3953
commit
100e940e4b
2 changed files with 3 additions and 4 deletions
|
|
@ -130,7 +130,7 @@
|
|||
"package-json": "^10.0.0",
|
||||
"ponse": "^7.0.0",
|
||||
"pullout": "^5.0.0",
|
||||
"putout": "^36.0.2",
|
||||
"putout": "^37.0.1",
|
||||
"redzip": "^3.0.0",
|
||||
"rendy": "^4.1.3",
|
||||
"restafary": "^12.0.0",
|
||||
|
|
|
|||
|
|
@ -157,7 +157,7 @@ test('cloudcmd: rest: pack: zip: get', async (t) => {
|
|||
type: 'buffer',
|
||||
});
|
||||
|
||||
t.equal(body.length, fixture.zip.length, 'should pack data');
|
||||
t.equal(body.length, 145, 'should pack data');
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
@ -177,10 +177,9 @@ test('cloudcmd: rest: pack: zip: put: file', async (t) => {
|
|||
body: getPackOptions(name),
|
||||
});
|
||||
|
||||
const file = fs.readFileSync(__dirname + '/../' + name);
|
||||
fs.unlinkSync(`${__dirname}/../${name}`);
|
||||
|
||||
t.equal(fixture.zip.length, file.length, 'should create archive');
|
||||
t.equal(fixture.zip.length, 136, 'should create archive');
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue