"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
require("../../__tests__/test-helpers/setup");
const bridge_1 = require("../../__tests__/test-helpers/bridge");
const index_1 = require("@ledgerhq/coin-filecoin/test/index");
(0, bridge_1.testBridge)(index_1.dataset);
// describe("estimateMaxSpendable", () => {
//   test("it should failed on invalid recipient", async () => {
//     const accounts = dataset.currencies["filecoin"].accounts || [];
//     const accountData = accounts[0];
//     const account = fromAccountRaw({
//       ...accountData.raw,
//       id: encodeAccountId({
//         ...decodeAccountId(accountData.raw.id),
//         type: dataset.implementations[0],
//       }),
//     });
//     const accountBridge = getAccountBridge(account);
//     const estimate = async () => {
//       await accountBridge.estimateMaxSpendable({
//         account,
//         transaction: { recipient: "notavalidrecipient" },
//       });
//     };
//     await expect(estimate).rejects.toThrowError(new InvalidAddress());
//   });
// });
//# sourceMappingURL=bridge.integration.test.js.map