Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
Matlefebvre1234 committed Dec 5, 2023
1 parent 11a4361 commit 0e453b8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/queries.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,12 @@ test("getTotalSupply", () => {
formatSQL(`SELECT
TotalSupply.address as address,
TotalSupply.supply as supply,
TotalSupply.id as id,
block_number,
TotalSupply.module_hash as module_hash,
TotalSupply.block_number,
TotalSupply.chain as chain,
Contracts.name as name,
Contracts.symbol as symbol,
Contracts.decimals as decimals,
timestamp`)
TotalSupply.timestamp`)
);
expect(formatSQL(getTotalSupply(parameters))).toContain(
formatSQL(`FROM TotalSupply`)
Expand Down Expand Up @@ -253,7 +251,7 @@ test("getTransfers", () => {
const parameters5 = new URLSearchParams({ chain, contract: address, from: address, to: address, transaction_id });
expect(formatSQL(getTransfers(parameters1))).toContain(
formatSQL(`SELECT
address as contract,
address,
from,
to,
value as amount,
Expand Down

0 comments on commit 0e453b8

Please sign in to comment.