@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
16 lines (13 loc) • 553 B
text/typescript
// A test files that can contains generic failsafe we have for LLD
import "./test-helpers/setup";
import { getAbandonSeedAddress, listSupportedCurrencies } from "../currencies";
describe("supported currencies are ready to work", () => {
// Skip bitcoin_regtest this one because it's only for cointester bitcoin
listSupportedCurrencies()
.filter(c => c.id !== "bitcoin_regtest")
.forEach(c =>
test("getAbandonSeedAddress works for currency " + c.id, () =>
expect(getAbandonSeedAddress(c.id)).toBeTruthy(),
),
);
});