Skip to content

Commit

Permalink
lint #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Wozacosta committed Aug 12, 2024
1 parent fb1142f commit 527fb15
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ describe("buildTransaction", () => {

const res = await buildTransaction(mockAccount, transaction);

// eslint-disable-next-line @typescript-eslint/no-var-requires
expect(require("../../wallet-btc").getWalletAccount).toHaveBeenCalledWith(mockAccount);
expect(res).toEqual(txInfo);
});
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { CryptoCurrency } from "@ledgerhq/types-cryptoassets";
import { ICrypto } from "../../crypto/types";
import { DerivationMode } from "@ledgerhq/types-live";
import { getCryptoCurrencyById } from "@ledgerhq/cryptoassets/currencies";

import { Account } from "../../account";
import { ICrypto } from "../../crypto/types";
import Xpub from "../../xpub";
import BitcoinLikeStorage from "../../storage";
import BitcoinLikeExplorer from "../../explorer";
import { getCryptoCurrencyById } from "@ledgerhq/cryptoassets/currencies";
import { IStorage } from "../../storage/types";

export const mockCrypto = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ describe("BitcoinLikeWallet", () => {

test("estimateAccountMaxSpendable", async () => {
const addresses = [{ address: "address1", account: 0, index: 0 }] as Address[];
const changeAddresses = ["address2"];
const utxos = [
{
value: "500",
Expand Down

0 comments on commit 527fb15

Please sign in to comment.