Skip to content

Commit

Permalink
fix up test
Browse files Browse the repository at this point in the history
  • Loading branch information
akuzni2 committed Feb 3, 2025
1 parent f024537 commit 120e983
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`execute price endpoint should return success 1`] = `
{
"data": {
"result": 1.289471279771571,
"result": 1.2895605309843814,
"sources": {
"ETH": [
"tiingo",
Expand All @@ -17,7 +17,7 @@ exports[`execute price endpoint should return success 1`] = `
],
},
},
"result": 1.289471279771571,
"result": 1.2895605309843814,
"statusCode": 200,
"timestamps": {
"providerDataReceivedUnixMs": 978347471111,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ jest.mock('ethers', () => ({
}
},
getGlvTokenPrice: (
contract_addr: string,
markets: string[],
dataStoreContractAddr: string,
marketAddresses: string[],
indexTokenPrices: number[],
shortTokenPrices: number[],
glv_address: string,
longTokenPrice: number[],
shortTokenPrice: number[],
glvAddress: string,
maximize: boolean,
) => {
if (maximize) {
Expand Down

0 comments on commit 120e983

Please sign in to comment.