diff --git a/indexer/services/vulcan/__tests__/handlers/order-remove-handler.test.ts b/indexer/services/vulcan/__tests__/handlers/order-remove-handler.test.ts index eeb733500b..b0b00075f2 100644 --- a/indexer/services/vulcan/__tests__/handlers/order-remove-handler.test.ts +++ b/indexer/services/vulcan/__tests__/handlers/order-remove-handler.test.ts @@ -28,7 +28,6 @@ import { testMocks, apiTranslations, TimeInForce, - BlockFromDatabase, } from '@dydxprotocol-indexer/postgres'; import { OpenOrdersCache, @@ -1706,6 +1705,7 @@ describe('OrderRemoveHandler', () => { const removedRedisOrder: RedisOrder = redisTestConstants.defaultRedisOrder; const expectedOrderUuid: string = redisTestConstants.defaultOrderUuid; + // eslint-disable-next-line @typescript-eslint/require-await const tableSpy = jest.spyOn(BlockTable, 'getLatest').mockImplementation(async () => { throw new Error(); });