Skip to content

Commit

Permalink
cleanup #3
Browse files Browse the repository at this point in the history
  • Loading branch information
Wozacosta committed Aug 7, 2024
1 parent 5dc8608 commit 14bcd3c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ jest.mock("./wallet-btc", () => ({
describe("buildTransaction", () => {
const mockAccount = createFixtureAccount();
const maxSpendable = 100000;
console.log({ mockAccount });

beforeEach(() => {
jest.clearAllMocks();
Expand Down
6 changes: 0 additions & 6 deletions libs/coin-modules/coin-bitcoin/src/formatters.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ import { BitcoinAccount, BitcoinOutput, BitcoinResources, NetworkInfoRaw } from
import { listCryptoCurrencies } from "@ledgerhq/cryptoassets/currencies";
import { emptyHistoryCache } from "@ledgerhq/coin-framework/account/index";
import BigNumber from "bignumber.js";
import { Bitcoin } from "./wallet-btc/crypto";

// const mockGetEnv = jest.fn();

jest.mock("@ledgerhq/live-env", () => ({
getEnv: jest.fn().mockReturnValue(3),
Expand Down Expand Up @@ -47,12 +44,9 @@ const networkInfo: NetworkInfoRaw = {
};
export function createFixtureAccount(account?: Partial<BitcoinAccount>): BitcoinAccount {
const currency = listCryptoCurrencies(true).find(c => c.id === "bitcoin")!;
// const wallet = new BitcoinLikeWallet();

const bitcoinResources: BitcoinResources = account?.bitcoinResources || {
utxos: [],
// walletAccount:
// walletAccount: mockWalletAccount,
};

const freshAddress = {
Expand Down

0 comments on commit 14bcd3c

Please sign in to comment.