-test tagging

This commit is contained in:
Florian Dold 2022-09-19 12:57:42 +02:00
parent d34f8e48da
commit 97267e7d1f
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 7 additions and 7 deletions

View File

@ -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"];

View File

@ -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;