From d9aa5874603043d7e491a7bea280cd2473f4cc76 Mon Sep 17 00:00:00 2001 From: Steven Luscher Date: Mon, 7 Oct 2024 17:20:29 -0700 Subject: [PATCH] Remove spurious `abort()` calls from the blockheight exceedence tests (#3352) --- .../src/__tests__/confirmation-strategy-blockheight-test.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/transaction-confirmation/src/__tests__/confirmation-strategy-blockheight-test.ts b/packages/transaction-confirmation/src/__tests__/confirmation-strategy-blockheight-test.ts index b392114f0c3..c77241a2fcf 100644 --- a/packages/transaction-confirmation/src/__tests__/confirmation-strategy-blockheight-test.ts +++ b/packages/transaction-confirmation/src/__tests__/confirmation-strategy-blockheight-test.ts @@ -203,7 +203,6 @@ describe('createBlockHeightExceedencePromiseFactory', () => { it('throws errors thrown from the epoch info fetcher', async () => { expect.assertions(1); const abortController = new AbortController(); - abortController.abort(); getEpochInfoRequestSender.mockRejectedValue(new Error('o no')); await expect( getBlockHeightExceedencePromise({ @@ -215,7 +214,6 @@ describe('createBlockHeightExceedencePromiseFactory', () => { it('throws errors thrown from the slot subscription', async () => { expect.assertions(1); const abortController = new AbortController(); - abortController.abort(); createSubscriptionIterable.mockRejectedValue(new Error('o no')); await expect( getBlockHeightExceedencePromise({