Skip to content

Commit

Permalink
fix: add enhancements and corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
jccguimaraes committed Jan 3, 2025
1 parent 6eb2930 commit dfd7404
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions libs/ledger-live-common/src/__tests__/test-helpers/bridge.ts
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
import { AmountRequired, InvalidAddress, RecipientRequired } from "@ledgerhq/errors";
import { getDefaultAccountName } from "@ledgerhq/live-wallet/accountName";
import type { CryptoCurrency } from "@ledgerhq/types-cryptoassets";
import type {
Account,
AccountBridge,
AccountLike,
AccountRawLike,
CurrenciesData,
DatasetTest,
SubAccount,
SyncConfig,
TransactionCommon,
TransactionStatusCommon,
} from "@ledgerhq/types-live";
import { BigNumber } from "bignumber.js";
import invariant from "invariant";
import { BigNumber } from "bignumber.js";
import { reduce, filter, map } from "rxjs/operators";
import flatMap from "lodash/flatMap";
import omit from "lodash/omit";
import { firstValueFrom } from "rxjs";
import { filter, map, reduce } from "rxjs/operators";
import { InvalidAddress, RecipientRequired, AmountRequired } from "@ledgerhq/errors";
import {
fromAccountRaw,
toAccountRaw,
decodeAccountId,
encodeAccountId,
flattenAccounts,
fromAccountRaw,
isAccountBalanceUnconfirmed,
toAccountRaw,
} from "../../account";
import { getAccountBridge, getCurrencyBridge } from "../../bridge";
import { getCryptoCurrencyById } from "../../currencies";
import { getOperationAmountNumber } from "../../operation";
import { fromTransactionRaw, toTransactionRaw, toTransactionStatusRaw } from "../../transaction";
import { getAccountBridge, getCurrencyBridge } from "../../bridge";
import { mockDeviceWithAPDUs, releaseMockDevice } from "./mockDevice";
import type {
Account,
AccountBridge,
AccountLike,
AccountRawLike,
SubAccount,
SyncConfig,
DatasetTest,
CurrenciesData,
TransactionCommon,
TransactionStatusCommon,
} from "@ledgerhq/types-live";
import type { CryptoCurrency } from "@ledgerhq/types-cryptoassets";
import { firstValueFrom } from "rxjs";
import { getDefaultAccountName } from "@ledgerhq/live-wallet/accountName";

const warnDev = process.env.CI ? (..._args) => {} : (...msg) => console.warn(...msg);
// FIXME move out into DatasetTest to be defined in
Expand Down

0 comments on commit dfd7404

Please sign in to comment.