From b25163cbf8ca1586d7c6b9e578ef3a06204a5cec Mon Sep 17 00:00:00 2001 From: Kayode Ezike Date: Tue, 23 Apr 2024 04:52:08 -0400 Subject: [PATCH] changes unnecssary "eql" invocation to "equal" invocation in test --- src/app.test.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app.test.js b/src/app.test.js index d1d7c7a..7a5c67a 100644 --- a/src/app.test.js +++ b/src/app.test.js @@ -82,7 +82,7 @@ describe('api', () => { .send(getUnsignedVC()) expect(response.header['content-type']).to.have.string('json') - expect(response.status).to.eql(200) + expect(response.status).to.equal(200) expect(response.body) }) @@ -132,11 +132,11 @@ describe('api', () => { .send(sentCred) expect(response.header['content-type']).to.have.string('json') - expect(response.status).to.eql(200) + expect(response.status).to.equal(200) const returnedCred = JSON.parse(JSON.stringify(response.body)) // this proof value comes from the nock: - expect(returnedCred.proof.proofValue).to.eql('z5QQ12zr5JvEsKvbnEN2EYZ6punR6Pa5wMJzywGJ2dCh6SSA5oQb9hBiGADsNTbs57bopArwdBHE9kEVemMxcu1Fq') + expect(returnedCred.proof.proofValue).to.equal('z5QQ12zr5JvEsKvbnEN2EYZ6punR6Pa5wMJzywGJ2dCh6SSA5oQb9hBiGADsNTbs57bopArwdBHE9kEVemMxcu1Fq') }) }) @@ -214,7 +214,7 @@ describe('api', () => { .send(statusUpdateBodyWithUnknownId) expect(response.header['content-type']).to.have.string('json') - expect(response.status).to.eql(404) + expect(response.status).to.equal(404) }) it('calls status manager for protected tenant', async () => { @@ -225,7 +225,7 @@ describe('api', () => { .send(statusUpdateBody) expect(response.header['content-type']).to.have.string('json') - expect(response.status).to.eql(200) + expect(response.status).to.equal(200) }) }) })