Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
OGPoyraz committed Dec 12, 2024
1 parent 9a6e27a commit 7b160db
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react';
import configureMockStore from 'redux-mock-store';
import thunk from 'redux-thunk';
import { Hex } from '@metamask/utils';
import { toHex } from '@metamask/controller-utils';
import {
getMockConfirmState,
getMockConfirmStateForTransaction,
Expand All @@ -11,7 +12,6 @@ import { renderWithConfirmContextProvider } from '../../../../../../../../test/l
import { CHAIN_IDS } from '../../../../../../../../shared/constants/network';
import { genUnapprovedContractInteractionConfirmation } from '../../../../../../../../test/data/confirmations/contract-interaction';
import { TransactionDetails } from './transaction-details';
import { toHex } from '@metamask/controller-utils';

jest.mock(
'../../../../../../../components/app/alert-system/contexts/alertMetricsContext',
Expand Down Expand Up @@ -110,7 +110,8 @@ describe('<TransactionDetails />', () => {
const transactionValueInHex = toHex(transactionValueInDecimal);
const newBalanceInDecimal = 1;
const newBalanceInHex = toHex(newBalanceInDecimal);
const previousBalanceInDecimal = transactionValueInDecimal + newBalanceInDecimal;
const previousBalanceInDecimal =
transactionValueInDecimal + newBalanceInDecimal;
const previousBalanceInHex = toHex(previousBalanceInDecimal);

const simulationDataMock = {
Expand Down

0 comments on commit 7b160db

Please sign in to comment.