Skip to content

Commit

Permalink
output activePrice
Browse files Browse the repository at this point in the history
  • Loading branch information
canonbrother committed Oct 25, 2024
1 parent bbb7f1d commit 177a89a
Showing 1 changed file with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,14 @@ describe('list', () => {
symbol: expect.any(String),
symbolKey: expect.any(String),
tradeable: true
},
// NOTE(canonbrother): waitForIndexHeight is needed in ocean-js
activePrice: {
active: null,
next: null,
isLive: false,
block: expect.any(Object)
}
// activePrice: undefined
})

expect(result.data[1].tokenId.length).toStrictEqual(64)
Expand Down Expand Up @@ -167,8 +173,14 @@ describe('get', () => {
symbol: 'AAPL',
symbolKey: 'AAPL',
tradeable: true
},
// NOTE(canonbrother): waitForIndexHeight is needed in ocean-js
activePrice: {
active: null,
next: null,
isLive: false,
block: expect.any(Object)
}
// activePrice: undefined
})
})

Expand Down

0 comments on commit 177a89a

Please sign in to comment.