mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 14:40:55 +03:00
added fxa auth to /ws
This commit is contained in:
@@ -10,8 +10,8 @@ const archive = new Archive([blob]);
|
||||
describe('FileSender', function() {
|
||||
describe('upload', function() {
|
||||
it('returns an OwnedFile on success', async function() {
|
||||
const fs = new FileSender(archive);
|
||||
const file = await fs.upload();
|
||||
const fs = new FileSender();
|
||||
const file = await fs.upload(archive);
|
||||
assert.ok(file.id);
|
||||
assert.equal(file.name, archive.name);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user