aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli/src/integrationtests/testrunner.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-01-14 01:47:56 +0100
committerFlorian Dold <florian@dold.me>2021-01-14 01:47:56 +0100
commit657c4b6377d405640d353a8c5e15dbb6ac59800b (patch)
tree249ee15f83e450428af868391cb37b00c2592cf7 /packages/taler-wallet-cli/src/integrationtests/testrunner.ts
parente70144405cee1a2d2d0ad24b78bf610eba6cdb8d (diff)
merchant exchange confusion test
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests/testrunner.ts')
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/testrunner.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/testrunner.ts b/packages/taler-wallet-cli/src/integrationtests/testrunner.ts
index 3b1ea4966..fbc25168e 100644
--- a/packages/taler-wallet-cli/src/integrationtests/testrunner.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/testrunner.ts
@@ -47,6 +47,7 @@ import { runTestWithdrawalManualTest } from "./test-withdrawal-manual";
import { runWithdrawalAbortBankTest } from "./test-withdrawal-abort-bank";
import { runWithdrawalBankIntegratedTest } from "./test-withdrawal-bank-integrated";
import M from "minimatch";
+import { runMerchantExchangeConfusionTest } from "./test-merchant-exchange-confusion";
/**
* Test runner.
@@ -87,6 +88,7 @@ const allTests: TestMainFunction[] = [
runTestWithdrawalManualTest,
runWithdrawalAbortBankTest,
runWithdrawalBankIntegratedTest,
+ runMerchantExchangeConfusionTest,
];
export interface TestRunSpec {
@@ -118,7 +120,7 @@ export function getTestName(tf: TestMainFunction): string {
throw Error("invalid test name, must be 'run${NAME}Test'");
}
return res[1]
- .replace(/[a-z0-9][A-Z]/, (x) => {
+ .replace(/[a-z0-9][A-Z]/g, (x) => {
return x[0] + "-" + x[1];
})
.toLowerCase();