diff --git a/test/verify.test.js b/test/verify.test.js index f9cf312..9d93e94 100644 --- a/test/verify.test.js +++ b/test/verify.test.js @@ -66,9 +66,9 @@ describe('verify', () => { return expect(doipjs.proofs.verify('noURI')).to.eventually.be.rejectedWith( 'Not a valid URI' ) - return expect(doipjs.proofs.verify('domain.org')).to.eventually.be.rejectedWith( - 'Not a valid URI' - ) + return expect( + doipjs.proofs.verify('domain.org') + ).to.eventually.be.rejectedWith('Not a valid URI') }) doipjs.serviceproviders.list.forEach((spName, i) => {