diff --git a/test/claims.test.js b/test/claims.test.js index f9d3089..aa50006 100644 --- a/test/claims.test.js +++ b/test/claims.test.js @@ -66,9 +66,6 @@ describe('claims.verify', () => { return expect(doipjs.claims.verify('noURI')).to.eventually.be.rejectedWith( undefined ) - return expect( - doipjs.claims.verify('domain.org') - ).to.eventually.be.rejectedWith(undefined) }) doipjs.serviceproviders.list.forEach((spName, i) => { diff --git a/test/keys.test.js b/test/keys.test.js index 9c74551..066546a 100644 --- a/test/keys.test.js +++ b/test/keys.test.js @@ -58,12 +58,12 @@ describe('keys.fetch.uri', () => { expect( await doipjs.keys.fetch.uri(`hkp:${pubKeyFingerprint}`) ).to.be.instanceOf(openpgp.key.Key) - }) + }).timeout('12s') it('should reject when provided an invalid uri', () => { return expect( doipjs.keys.fetch.uri(`inv:${pubKeyFingerprint}`) ).to.eventually.be.rejectedWith('Invalid URI protocol') - }) + }).timeout('12s') }) describe('keys.fetch.hkp', () => {