Update parameters name in query to match DB columns #72
Annotations
5 errors and 1 warning
error: expect(received).toContain(expected):
src/queries.spec.ts#L34
Expected to contain: "block_number >= 123"
Received: [ "block_num >= 123", "toUnixTimestamp(timestamp) >= 1697587200",
"block_num <= 123", "toUnixTimestamp(timestamp) <= 1697587100"
]
at /home/runner/work/antelope-token-api/antelope-token-api/src/queries.spec.ts:34:5
|
error: expect(received).toContain(expected):
src/queries.spec.ts#L60
Expected to contain: "SELECT*,updated_at_block_numASblock_number,updated_at_timestampAStimestampFROMtoken_supplies"
Received: "SELECT*,updated_at_block_numASblock_num,updated_at_timestampAStimestampFROMtoken_suppliesFINALWHERE(contract=='eosio.token')ORDERBYblock_numDESCLIMIT1OFFSET0"
at /home/runner/work/antelope-token-api/antelope-token-api/src/queries.spec.ts:60:5
|
error: expect(received).toContain(expected):
src/queries.spec.ts#L94
Expected to contain: "SELECT*,updated_at_block_numASblock_number,updated_at_timestampAStimestampFROMaccount_balances"
Received: "SELECT*,updated_at_block_numASblock_num,updated_at_timestampAStimestampFROMaccount_balancesWHERE(account=='push.sx'ANDcontract=='eosio.token')ORDERBYblock_numDESCLIMIT1OFFSET0"
at /home/runner/work/antelope-token-api/antelope-token-api/src/queries.spec.ts:94:5
|
error: expect(received).toContain(expected):
src/queries.spec.ts#L129
Expected to contain: "WHERE(contract=='eosio.token'ANDfrom=='push.sx'ANDto=='push.sx'ANDtransaction=='ab3612eed62a184eed2ae86bcad766183019cf40f82e5316f4d7c4e61f4baa44')"
Received: "SELECT*FROMtransfers_block_numWHERE(contract=='eosio.token'ANDfrom=='push.sx'ANDto=='push.sx'ANDtrx_id=='ab3612eed62a184eed2ae86bcad766183019cf40f82e5316f4d7c4e61f4baa44')ORDERBYblock_numDESCLIMIT1OFFSET0"
at /home/runner/work/antelope-token-api/antelope-token-api/src/queries.spec.ts:129:5
|
bun-test
Process completed with exit code 1.
|
bun-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|