deposit group fees

This commit is contained in:
Sebastian 2022-03-29 12:18:58 -03:00
parent 8da1843b82
commit ed6bdfaef5
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1

View File

@ -20,14 +20,14 @@
*/
import { Amounts, Balance } from "@gnu-taler/taler-util";
import { DepositFee } from "@gnu-taler/taler-wallet-core/src/operations/deposits";
import { DepositGroupFees } from "@gnu-taler/taler-wallet-core/src/operations/deposits";
import { expect } from "chai";
import { mountHook } from "../test-utils.js";
import { useComponentState } from "./DepositPage.js";
const currency = "EUR"
const feeCalculator = async (): Promise<DepositFee> => ({
const feeCalculator = async (): Promise<DepositGroupFees> => ({
coin: Amounts.parseOrThrow(`${currency}:1`),
wire: Amounts.parseOrThrow(`${currency}:1`),
refresh: Amounts.parseOrThrow(`${currency}:1`)