Skip to content

Commit

Permalink
Merge pull request #369 from Uniswap/fix-integ-return-val
Browse files Browse the repository at this point in the history
fix: integ test http code check
  • Loading branch information
ConjunctiveNormalForm authored Aug 27, 2024
2 parents 0fdb5b0 + 702efd3 commit 5b30630
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integ/hard-quote.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ describe('Hard Quote endpoint integration test', function () {

const { data, status } = await AxiosUtils.callPassThroughFail('POST', PARAM_API, quoteReq);
console.log(data);
expect(status).to.equal(200);
expect(status).to.be.oneOf([200, 201]);
expect(data.chainId).to.equal(SEPOLIA);
expect(data.orderHash).to.match(/0x[0-9a-fA-F]{64}/);
});
Expand Down Expand Up @@ -184,7 +184,7 @@ describe('Hard Quote endpoint integration test', function () {

const { data, status } = await AxiosUtils.callPassThroughFail('POST', PARAM_API, quoteReq);
console.log(data);
expect(status).to.equal(200);
expect(status).to.be.oneOf([200, 201]);
expect(data.chainId).to.equal(SEPOLIA);
expect(data.orderHash).to.match(/0x[0-9a-fA-F]{64}/);
expect(data.filler).to.equal(ethers.constants.AddressZero);
Expand Down

0 comments on commit 5b30630

Please sign in to comment.