Skip to content

Commit

Permalink
chore: remove .only
Browse files Browse the repository at this point in the history
Signed-off-by: nikolay <[email protected]>
  • Loading branch information
natanasow committed Nov 13, 2024
1 parent bbbfdac commit 764079b
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions packages/relay/tests/lib/mirrorNodeClient.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const logger = pino();
const noTransactions = '?transactions=false';
const requestDetails = new RequestDetails({ requestId: getRequestId(), ipAddress: '0.0.0.0' });

describe.only('MirrorNodeClient', async function () {
describe('MirrorNodeClient', async function () {
this.timeout(20000);

const registry = new Registry();
Expand Down Expand Up @@ -638,14 +638,12 @@ describe.only('MirrorNodeClient', async function () {

it('`getContractResultsWithRetry` by hash retries once because of missing transaction_index, block_number and block_hash equals 0x', async () => {
const hash = '0x2a563af33c4871b51a8b108aa2fe1dd5280a30dfb7236170ae5e5e7957eb6393';
mock
.onGet(`contracts/results/${hash}`)
.replyOnce(200, {
...detailedContractResult,
transaction_index: undefined,
block_number: undefined,
block_hash: '0x',
});
mock.onGet(`contracts/results/${hash}`).replyOnce(200, {
...detailedContractResult,
transaction_index: undefined,
block_number: undefined,
block_hash: '0x',
});
mock.onGet(`contracts/results/${hash}`).reply(200, detailedContractResult);

const result = await mirrorNodeInstance.getContractResultWithRetry(hash, requestDetails);
Expand Down

0 comments on commit 764079b

Please sign in to comment.