-test tagging
This commit is contained in:
parent
d34f8e48da
commit
97267e7d1f
@ -25,7 +25,7 @@ import {
|
|||||||
MerchantService,
|
MerchantService,
|
||||||
setupDb,
|
setupDb,
|
||||||
WalletCli,
|
WalletCli,
|
||||||
getPayto
|
getPayto,
|
||||||
} from "../harness/harness.js";
|
} from "../harness/harness.js";
|
||||||
import {
|
import {
|
||||||
withdrawViaBank,
|
withdrawViaBank,
|
||||||
@ -165,12 +165,8 @@ export async function createMyTestkudosEnvironment(
|
|||||||
export async function runFeeRegressionTest(t: GlobalTestState) {
|
export async function runFeeRegressionTest(t: GlobalTestState) {
|
||||||
// Set up test environment
|
// Set up test environment
|
||||||
|
|
||||||
const {
|
const { wallet, bank, exchange, merchant } =
|
||||||
wallet,
|
await createMyTestkudosEnvironment(t);
|
||||||
bank,
|
|
||||||
exchange,
|
|
||||||
merchant,
|
|
||||||
} = await createMyTestkudosEnvironment(t);
|
|
||||||
|
|
||||||
// Withdraw digital cash into the wallet.
|
// Withdraw digital cash into the wallet.
|
||||||
|
|
||||||
@ -200,3 +196,5 @@ export async function runFeeRegressionTest(t: GlobalTestState) {
|
|||||||
t.assertAmountEquals(txs.transactions[1].amountEffective, "TESTKUDOS:1.30");
|
t.assertAmountEquals(txs.transactions[1].amountEffective, "TESTKUDOS:1.30");
|
||||||
console.log(txs);
|
console.log(txs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
runFeeRegressionTest.suites = ["wallet"];
|
||||||
|
@ -110,4 +110,6 @@ export async function runLibeufinNexusBalanceTest(t: GlobalTestState) {
|
|||||||
);
|
);
|
||||||
t.assertDeepEqual(accountInfoDebit.data.lastSeenBalance, "-EUR:10");
|
t.assertDeepEqual(accountInfoDebit.data.lastSeenBalance, "-EUR:10");
|
||||||
}
|
}
|
||||||
|
|
||||||
runLibeufinNexusBalanceTest.suites = ["libeufin"];
|
runLibeufinNexusBalanceTest.suites = ["libeufin"];
|
||||||
|
runLibeufinNexusBalanceTest.excludeByDefault = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user