Skip to content

Commit

Permalink
replace ts-ignore with ts-expect-error
Browse files Browse the repository at this point in the history
  • Loading branch information
ramirotw committed Jun 21, 2022
1 parent 2f25343 commit e9548b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/api/cow/cow.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,7 @@ test('Valid: Get last 5 trades for a given order id ', async () => {

test('Invalid: Get trades passing both the owner and orderId', async () => {
await expect(
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
// @ts-expect-error both owner and orderId can't be passed at the same time
cowSdk.cowApi.getTrades({
owner: TRADE_RESPONSE.owner,
orderId: TRADE_RESPONSE.orderUid,
Expand Down

0 comments on commit e9548b1

Please sign in to comment.