UNPKG

@ledgerhq/live-common

Version:
19 lines 802 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); require("../__tests__/test-helpers/setup"); const helpers_1 = require("./helpers"); describe("Currencies helpers", () => { test("listCurrencies without includeTokens", () => { const currencies = (0, helpers_1.listCurrencies)(false); currencies.forEach(currency => { expect((0, helpers_1.isCryptoCurrency)(currency)).toBeTruthy(); }); }); test("listCurrencies with includeTokens", () => { const currencies = (0, helpers_1.listCurrencies)(true); currencies.forEach(currency => { expect((0, helpers_1.isCryptoCurrency)(currency) || (0, helpers_1.isTokenCurrency)(currency)).toBeTruthy(); }); }); }); //# sourceMappingURL=helpers.test.js.map