linting issues
This commit is contained in:
parent
6f7930e34d
commit
c4b7a2bd97
4 changed files with 7 additions and 15 deletions
|
@ -112,11 +112,8 @@ describe('Testing Set using aws', function() {
|
|||
sinon.stub(crypto, 'randomBytes').returns(buf);
|
||||
s3Stub.upload.callsArgWith(1, null, {});
|
||||
return storage
|
||||
.set('123', {}, 'Filename.moz', {})
|
||||
.then(([deleteKey, id]) => {
|
||||
assert.equal(deleteKey, buf.toString('hex'));
|
||||
assert.notEqual(id, null);
|
||||
assert.notEqual(deleteKey, null);
|
||||
.set('123', '123', {}, 'Filename.moz', {})
|
||||
.then(() => {
|
||||
assert(expire.calledOnce);
|
||||
assert(expire.calledWith('123', 86400000));
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue