Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ob committed Dec 20, 2024
1 parent 86ae434 commit 8ea7007
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
28 changes: 14 additions & 14 deletions test/e2e/page-objects/pages/home/asset-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,26 +361,26 @@ class AssetListPage {
}
}

/**
/**
* Checks if the token's percentage change element does not exist
*
* @param address - The token address to check
*/
async check_tokenGeneralChangePercentageNotPresent(
address: string,
): Promise<void> {
console.log(
`Checking token general change percentage is not present for address ${address}`,
async check_tokenGeneralChangePercentageNotPresent(
address: string,
): Promise<void> {
console.log(
`Checking token general change percentage is not present for address ${address}`,
);
const isPresent = await this.driver.isElementPresent({
css: this.tokenPercentage(address),
});
if (isPresent) {
throw new Error(
`Token general change percentage element should not exist for address ${address}`,
);
const isPresent = await this.driver.isElementPresent({
css: this.tokenPercentage(address),
});
if (isPresent) {
throw new Error(
`Token general change percentage element should not exist for address ${address}`,
);
}
}
}

/**
* Checks if the token's general increase or decrease value is displayed correctly
Expand Down
1 change: 0 additions & 1 deletion test/e2e/tests/tokens/token-list.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { strict as assert } from 'assert';
import { Mockttp } from 'mockttp';
import { Context } from 'mocha';
import { zeroAddress } from 'ethereumjs-util';
Expand Down

0 comments on commit 8ea7007

Please sign in to comment.