mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-06-07 22:56:40 +00:00
Remove lambda in test
This commit is contained in:
parent
567d212204
commit
f4cf6d7382
@ -1207,7 +1207,9 @@ describe('OpenPGP.js public api tests', function() {
|
|||||||
data: new Uint8Array([0x01, 0x01, 0x01]),
|
data: new Uint8Array([0x01, 0x01, 0x01]),
|
||||||
passwords: null
|
passwords: null
|
||||||
})
|
})
|
||||||
.then(() => done(new Error('Error expected.')))
|
.then(function () {
|
||||||
|
done(new Error('Error expected.'));
|
||||||
|
})
|
||||||
.catch(function(error){
|
.catch(function(error){
|
||||||
expect(error.innerError).to.exist;
|
expect(error.innerError).to.exist;
|
||||||
done();
|
done();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user