Skip to content

Commit

Permalink
fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronfigueiredo committed Sep 18, 2024
1 parent f05690e commit f01b6c0
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 10 deletions.
3 changes: 1 addition & 2 deletions test/e2e/tests/confirmations/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ import {
withFixtures,
} from '../../helpers';
import { MockedEndpoint, Mockttp } from '../../mock-e2e';
import { SMART_CONTRACTS } from '../../seeder/smart-contracts';
import { Driver } from '../../webdriver/driver';

const { SMART_CONTRACTS } = require('../../seeder/smart-contracts');

export async function scrollAndConfirmAndAssertConfirm(driver: Driver) {
await driver.clickElementSafe('.confirm-scroll-to-bottom__button');
await driver.clickElement('[data-testid="confirm-footer-button"]');
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/tests/confirmations/navigation.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TransactionEnvelopeType } from '@metamask/transaction-controller';
import { strict as assert } from 'assert';
import { TransactionEnvelopeType } from '@metamask/transaction-controller';
import { Suite } from 'mocha';
import {
DAPP_HOST_ADDRESS,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TransactionEnvelopeType } from '@metamask/transaction-controller';
import { strict as assert } from 'assert';
import { TransactionEnvelopeType } from '@metamask/transaction-controller';
import { Suite } from 'mocha';
import { MockedEndpoint } from 'mockttp';
import { WINDOW_TITLES } from '../../../helpers';
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/tests/confirmations/signatures/permit.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TransactionEnvelopeType } from '@metamask/transaction-controller';
import { strict as assert } from 'assert';
import { TransactionEnvelopeType } from '@metamask/transaction-controller';
import { Suite } from 'mocha';
import { MockedEndpoint } from 'mockttp';
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TransactionEnvelopeType } from '@metamask/transaction-controller';
import { strict as assert } from 'assert';
import { TransactionEnvelopeType } from '@metamask/transaction-controller';
import { Suite } from 'mocha';
import { MockedEndpoint } from 'mockttp';
import { DAPP_HOST_ADDRESS, WINDOW_TITLES } from '../../../helpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TransactionEnvelopeType } from '@metamask/transaction-controller';
import { strict as assert } from 'assert';
import { TransactionEnvelopeType } from '@metamask/transaction-controller';
import { Suite } from 'mocha';
import { MockedEndpoint } from 'mockttp';
import { DAPP_HOST_ADDRESS, WINDOW_TITLES } from '../../../helpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TransactionEnvelopeType } from '@metamask/transaction-controller';
import { strict as assert } from 'assert';
import { TransactionEnvelopeType } from '@metamask/transaction-controller';
import { Suite } from 'mocha';
import { MockedEndpoint } from 'mockttp';
import { DAPP_HOST_ADDRESS, WINDOW_TITLES } from '../../../helpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TransactionEnvelopeType } from '@metamask/transaction-controller';
import { strict as assert } from 'assert';
import { TransactionEnvelopeType } from '@metamask/transaction-controller';
import { Suite } from 'mocha';
import { MockedEndpoint } from 'mockttp';
import { DAPP_HOST_ADDRESS, WINDOW_TITLES } from '../../../helpers';
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/tests/confirmations/signatures/siwe.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TransactionEnvelopeType } from '@metamask/transaction-controller';
import { strict as assert } from 'assert';
import { TransactionEnvelopeType } from '@metamask/transaction-controller';
import { Suite } from 'mocha';
import { MockedEndpoint } from 'mockttp';
import { DAPP_HOST_ADDRESS, WINDOW_TITLES } from '../../../helpers';
Expand Down

0 comments on commit f01b6c0

Please sign in to comment.