mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 22:50:53 +03:00
saves stream to file
This commit is contained in:
@@ -22,7 +22,7 @@ describe('API', function() {
|
||||
const result = await up.result;
|
||||
assert.ok(result.url);
|
||||
assert.ok(result.id);
|
||||
assert.ok(result.ownerToken);
|
||||
assert.ok(result.ownerToken);
|
||||
});
|
||||
|
||||
it('can be cancelled', async function() {
|
||||
|
||||
@@ -49,7 +49,7 @@ describe('Streaming', function() {
|
||||
it('can decrypt', async function() {
|
||||
const encBlob = new Blob([encrypted]);
|
||||
const ece = new ECE(encBlob, key, 'decrypt', rs);
|
||||
const decStream = await ece.transform()
|
||||
const decStream = await ece.transform();
|
||||
|
||||
const reader = decStream.getReader();
|
||||
let result = Buffer.from([]);
|
||||
|
||||
Reference in New Issue
Block a user