Skip to content

Commit

Permalink
chore: mprettier
Browse files Browse the repository at this point in the history
  • Loading branch information
nvtaveras committed Dec 18, 2024
1 parent f62560d commit c6418e6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/exchange_adapters/base.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,7 @@ describe('BaseExchangeAdapter', () => {

it('throws if the json cannot be parsed', async () => {
// @ts-ignore - mockReturnValue is added by jest and is not in the fetch type signature
fetch.mockReturnValue(
Promise.resolve(new Response('not json', { status: 200 }))
)
fetch.mockReturnValue(Promise.resolve(new Response('not json', { status: 200 })))
await expect(async () =>
adapter.fetchFromApi(ExchangeDataType.TICKER, mockTickerEndpoint)
).rejects.toThrowError(
Expand Down

0 comments on commit c6418e6

Please sign in to comment.