added fxa auth to /ws
This commit is contained in:
parent
fb7176d989
commit
85185d048c
8 changed files with 89 additions and 92 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue