diff options
author | Florian Dold <florian@dold.me> | 2021-06-09 15:26:18 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-06-09 15:26:18 +0200 |
commit | 3d2b7b2a65787858c9471bc48cc5860c07b7f7dc (patch) | |
tree | 4a7477c184de7408104b8bf254a277a5949b19de /packages/taler-wallet-cli/src/integrationtests | |
parent | 5c26461247040c07c86291babf0c87631df638b5 (diff) | |
download | wallet-core-3d2b7b2a65787858c9471bc48cc5860c07b7f7dc.tar.xz |
formatting: re-run prettier
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests')
18 files changed, 182 insertions, 213 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/libeufin.ts b/packages/taler-wallet-cli/src/integrationtests/libeufin.ts index ddc19b6ed..4b14cc02e 100644 --- a/packages/taler-wallet-cli/src/integrationtests/libeufin.ts +++ b/packages/taler-wallet-cli/src/integrationtests/libeufin.ts @@ -82,7 +82,7 @@ interface LibeufinNexusMoneyMovement { }; endToEndId: string; unstructuredRemittanceInformation: string; - } + }; } interface LibeufinNexusBatches { @@ -668,7 +668,10 @@ export class LibeufinCli { console.log(stdout); } - async submitPayment(details: LibeufinPreparedPaymentDetails, paymentUuid: string): Promise<void> { + async submitPayment( + details: LibeufinPreparedPaymentDetails, + paymentUuid: string, + ): Promise<void> { const stdout = await sh( this.globalTestState, "libeufin-cli-submitpayment", @@ -820,7 +823,7 @@ export interface NexusAuth { auth: { username: string; password: string; - } + }; } export interface CreateNexusUserRequest { @@ -832,10 +835,12 @@ export interface PostNexusTaskRequest { name: string; cronspec: string; type: string; // fetch | submit - params: { - level: string; // report | statement | all - rangeType: string; // all | since-last | previous-days | latest - } | {} + params: + | { + level: string; // report | statement | all + rangeType: string; // all | since-last | previous-days | latest + } + | {}; } export interface PostNexusPermissionRequest { @@ -850,20 +855,16 @@ export interface PostNexusPermissionRequest { } export namespace LibeufinNexusApi { - export async function getAllConnections( nexus: LibeufinNexusServiceInterface, ): Promise<any> { let url = new URL("bank-connections", nexus.baseUrl); - const res = await axios.get( - url.href, - { - auth: { - username: "admin", - password: "test", - }, + const res = await axios.get(url.href, { + auth: { + username: "admin", + password: "test", }, - ); + }); return res; } @@ -873,16 +874,12 @@ export namespace LibeufinNexusApi { ): Promise<any> { const baseUrl = libeufinNexusService.baseUrl; let url = new URL("bank-connections/delete-connection", baseUrl); - return await axios.post( - url.href, - req, - { - auth: { - username: "admin", - password: "test", - } - } - ); + return await axios.post(url.href, req, { + auth: { + username: "admin", + password: "test", + }, + }); } export async function createEbicsBankConnection( @@ -1012,31 +1009,26 @@ export namespace LibeufinNexusApi { `/bank-accounts/${accountName}/payment-initiations`, baseUrl, ); - let response = await axios.get( - url.href, - { - auth: { - username: username, - password: password, - }, + let response = await axios.get(url.href, { + auth: { + username: username, + password: password, }, + }); + console.log( + `Payment initiations of: ${accountName}`, + JSON.stringify(response.data, null, 2), ); - console.log(`Payment initiations of: ${accountName}`, - JSON.stringify(response.data, null, 2)); } export async function getConfig( libeufinNexusService: LibeufinNexusService, ): Promise<void> { const baseUrl = libeufinNexusService.baseUrl; - let url = new URL( - `/config`, - baseUrl, - ); + let url = new URL(`/config`, baseUrl); let response = await axios.get(url.href); } - // FIXME: this function should return some structured // object that represents a history. export async function getAccountTransactions( @@ -1046,19 +1038,13 @@ export namespace LibeufinNexusApi { password: string = "test", ): Promise<any> { const baseUrl = libeufinNexusService.baseUrl; - let url = new URL( - `/bank-accounts/${accountName}/transactions`, - baseUrl, - ); - let response = await axios.get( - url.href, - { - auth: { - username: username, - password: password, - }, + let url = new URL(`/bank-accounts/${accountName}/transactions`, baseUrl); + let response = await axios.get(url.href, { + auth: { + username: username, + password: password, }, - ); + }); return response; } @@ -1174,7 +1160,10 @@ export namespace LibeufinNexusApi { taskName: string, ) { const baseUrl = libeufinNexusService.baseUrl; - let url = new URL(`/bank-accounts/${bankAccountName}/schedule/${taskName}`, baseUrl); + let url = new URL( + `/bank-accounts/${bankAccountName}/schedule/${taskName}`, + baseUrl, + ); await axios.delete(url.href, { auth: { username: "admin", @@ -1204,15 +1193,12 @@ export namespace LibeufinNexusApi { ): Promise<any> { const baseUrl = libeufinNexusService.baseUrl; let url = new URL(`facades/${facadeName}`, baseUrl); - return await axios.delete( - url.href, - { - auth: { - username: "admin", - password: "test", - }, - } - ); + return await axios.delete(url.href, { + auth: { + username: "admin", + password: "test", + }, + }); } export async function getAllFacades( @@ -1220,15 +1206,12 @@ export namespace LibeufinNexusApi { ): Promise<any> { const baseUrl = libeufinNexusService.baseUrl; let url = new URL("facades", baseUrl); - return await axios.get( - url.href, - { - auth: { - username: "admin", - password: "test", - }, - } - ); + return await axios.get(url.href, { + auth: { + username: "admin", + password: "test", + }, + }); } export async function createTwgFacade( @@ -1368,16 +1351,12 @@ export function findNexusPayment( key: string, payments: LibeufinNexusTransactions, ): LibeufinNexusMoneyMovement | void { - let transactions = payments["transactions"]; for (let i = 0; i < transactions.length; i++) { - let batches = transactions[i]["batches"]; for (let y = 0; y < batches.length; y++) { - let movements = batches[y]["batchTransactions"]; for (let z = 0; z < movements.length; z++) { - let movement = movements[z]; if (movement["details"]["unstructuredRemittanceInformation"] == key) return movement; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-exchange-management.ts b/packages/taler-wallet-cli/src/integrationtests/test-exchange-management.ts index 0d0253d71..c2494be93 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-exchange-management.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-exchange-management.ts @@ -27,9 +27,7 @@ import { BankApi, BankAccessApi, } from "./harness"; -import { - URL, -} from "@gnu-taler/taler-wallet-core"; +import { URL } from "@gnu-taler/taler-wallet-core"; import { ExchangesListRespose, TalerErrorCode } from "@gnu-taler/taler-util"; import { FaultInjectedExchangeService, diff --git a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-bankaccount.ts b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-bankaccount.ts index dd9a99a4a..3c3912254 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-bankaccount.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-bankaccount.ts @@ -38,13 +38,10 @@ export async function runLibeufinApiBankaccountTest(t: GlobalTestState) { await nexus.start(); await nexus.pingUntilAvailable(); - await LibeufinNexusApi.createUser( - nexus, - { - username: "one", - password: "testing-the-bankaccount-api", - } - ); + await LibeufinNexusApi.createUser(nexus, { + username: "one", + password: "testing-the-bankaccount-api", + }); const sandbox = await LibeufinSandboxService.create(t, { httpPort: 5012, databaseJdbcUri: `jdbc:sqlite:${t.testDir}/libeufin-sandbox.sqlite3`, @@ -52,43 +49,38 @@ export async function runLibeufinApiBankaccountTest(t: GlobalTestState) { await sandbox.start(); await sandbox.pingUntilAvailable(); await LibeufinSandboxApi.createEbicsHost(sandbox, "mock"); - await LibeufinSandboxApi.createEbicsSubscriber( - sandbox, - { - hostID: "mock", - userID: "mock", - partnerID: "mock", - } - ); - await LibeufinSandboxApi.createEbicsBankAccount( - sandbox, - { - subscriber: { - hostID: "mock", - partnerID: "mock", - userID: "mock", - }, - iban: "DE71500105179674997361", - bic: "BELADEBEXXX", - name: "mock", - currency: "mock", - label: "mock", - }, - ); - await LibeufinNexusApi.createEbicsBankConnection( - nexus, - { - name: "bankaccount-api-test-connection", - ebicsURL: "http://localhost:5012/ebicsweb", + await LibeufinSandboxApi.createEbicsSubscriber(sandbox, { + hostID: "mock", + userID: "mock", + partnerID: "mock", + }); + await LibeufinSandboxApi.createEbicsBankAccount(sandbox, { + subscriber: { hostID: "mock", - userID: "mock", partnerID: "mock", - } - ); + userID: "mock", + }, + iban: "DE71500105179674997361", + bic: "BELADEBEXXX", + name: "mock", + currency: "mock", + label: "mock", + }); + await LibeufinNexusApi.createEbicsBankConnection(nexus, { + name: "bankaccount-api-test-connection", + ebicsURL: "http://localhost:5012/ebicsweb", + hostID: "mock", + userID: "mock", + partnerID: "mock", + }); await LibeufinNexusApi.connectBankConnection( - nexus, "bankaccount-api-test-connection" + nexus, + "bankaccount-api-test-connection", + ); + await LibeufinNexusApi.fetchAccounts( + nexus, + "bankaccount-api-test-connection", ); - await LibeufinNexusApi.fetchAccounts(nexus, "bankaccount-api-test-connection"); await LibeufinNexusApi.importConnectionAccount( nexus, @@ -96,30 +88,24 @@ export async function runLibeufinApiBankaccountTest(t: GlobalTestState) { "mock", "local-mock", ); - - await LibeufinSandboxApi.bookPayment2( - sandbox, - { - creditorIban: "DE71500105179674997361", - creditorBic: "BELADEBEXXX", - creditorName: "mock", - debitorIban: "DE84500105176881385584", - debitorBic: "BELADEBEXXX", - debitorName: "mock2", - subject: "mock subject", - currency: "EUR", - amount: "1", - uid: "mock", - direction: "CRDT", - } - ); - await LibeufinNexusApi.fetchAllTransactions( - nexus, - "local-mock" - ); + + await LibeufinSandboxApi.bookPayment2(sandbox, { + creditorIban: "DE71500105179674997361", + creditorBic: "BELADEBEXXX", + creditorName: "mock", + debitorIban: "DE84500105176881385584", + debitorBic: "BELADEBEXXX", + debitorName: "mock2", + subject: "mock subject", + currency: "EUR", + amount: "1", + uid: "mock", + direction: "CRDT", + }); + await LibeufinNexusApi.fetchAllTransactions(nexus, "local-mock"); let transactions = await LibeufinNexusApi.getAccountTransactions( nexus, - "local-mock" + "local-mock", ); let el = findNexusPayment("mock subject", transactions.data); t.assertTrue(el instanceof Object); diff --git a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-bankconnection.ts b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-bankconnection.ts index 9e6e11664..f8bee7f16 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-bankconnection.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-bankconnection.ts @@ -38,34 +38,25 @@ export async function runLibeufinApiBankconnectionTest(t: GlobalTestState) { await nexus.start(); await nexus.pingUntilAvailable(); - await LibeufinNexusApi.createUser( - nexus, - { - username: "one", - password: "testing-the-bankconnection-api", - } - ); + await LibeufinNexusApi.createUser(nexus, { + username: "one", + password: "testing-the-bankconnection-api", + }); - await LibeufinNexusApi.createEbicsBankConnection( - nexus, - { - name: "bankconnection-api-test-connection", - ebicsURL: "http://localhost:5012/ebicsweb", - hostID: "mock", - userID: "mock", - partnerID: "mock", - } - ); + await LibeufinNexusApi.createEbicsBankConnection(nexus, { + name: "bankconnection-api-test-connection", + ebicsURL: "http://localhost:5012/ebicsweb", + hostID: "mock", + userID: "mock", + partnerID: "mock", + }); let connections = await LibeufinNexusApi.getAllConnections(nexus); t.assertTrue(connections.data["bankConnections"].length == 1); - await LibeufinNexusApi.deleteBankConnection( - nexus, - { - bankConnectionId: "bankconnection-api-test-connection", - } - ); + await LibeufinNexusApi.deleteBankConnection(nexus, { + bankConnectionId: "bankconnection-api-test-connection", + }); connections = await LibeufinNexusApi.getAllConnections(nexus); t.assertTrue(connections.data["bankConnections"].length == 0); } diff --git a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-facade.ts b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-facade.ts index 85a6b7bd0..edbbbca00 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-facade.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-facade.ts @@ -43,15 +43,19 @@ export async function runLibeufinApiFacadeTest(t: GlobalTestState) { * Launch Sandbox and Nexus. */ const libeufinServices = await launchLibeufinServices( - t, [user01nexus], [user01sandbox], + t, + [user01nexus], + [user01sandbox], + ); + let resp = await LibeufinNexusApi.getAllFacades( + libeufinServices.libeufinNexus, ); - let resp = await LibeufinNexusApi.getAllFacades(libeufinServices.libeufinNexus); // check that original facade shows up. t.assertTrue(resp.data["facades"][0]["name"] == user01nexus.twgReq["name"]); // delete it. resp = await LibeufinNexusApi.deleteFacade( libeufinServices.libeufinNexus, - user01nexus.twgReq["name"] + user01nexus.twgReq["name"], ); // check that no facades show up. t.assertTrue(!resp.data.hasOwnProperty("facades")); diff --git a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-permissions.ts b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-permissions.ts index 85385b75c..0090819e3 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-permissions.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-permissions.ts @@ -51,8 +51,8 @@ export async function runLibeufinApiPermissionsTest(t: GlobalTestState) { let transferPermission = await LibeufinNexusApi.getAllPermissions(nexus); let element = transferPermission.data["permissions"].pop(); t.assertTrue( - element["permissionName"] == "facade.talerWireGateway.transfer" - && element["subjectId"] == "username-01" + element["permissionName"] == "facade.talerWireGateway.transfer" && + element["subjectId"] == "username-01", ); let denyTransfer = user01nexus.twgTransferPermission; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-scheduling.ts b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-scheduling.ts index 13c9e92a8..d543bc4ab 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-scheduling.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-scheduling.ts @@ -40,7 +40,6 @@ export async function runLibeufinApiSchedulingTest(t: GlobalTestState) { await nexus.start(); await nexus.pingUntilAvailable(); - const user01nexus = new NexusUserBundle( "01", "http://localhost:5010/ebicsweb", @@ -54,13 +53,25 @@ export async function runLibeufinApiSchedulingTest(t: GlobalTestState) { params: { level: "all", rangeType: "all", - } + }, }); - let resp = await LibeufinNexusApi.getTasks(nexus, user01nexus.localAccountName, "test-task"); + let resp = await LibeufinNexusApi.getTasks( + nexus, + user01nexus.localAccountName, + "test-task", + ); t.assertTrue(resp.data["taskName"] == "test-task"); - await LibeufinNexusApi.deleteTask(nexus, user01nexus.localAccountName, "test-task"); + await LibeufinNexusApi.deleteTask( + nexus, + user01nexus.localAccountName, + "test-task", + ); try { - await LibeufinNexusApi.getTasks(nexus, user01nexus.localAccountName, "test-task"); + await LibeufinNexusApi.getTasks( + nexus, + user01nexus.localAccountName, + "test-task", + ); } catch (err) { t.assertTrue(err.response.status == 404); } @@ -72,11 +83,23 @@ export async function runLibeufinApiSchedulingTest(t: GlobalTestState) { type: "submit", params: {}, }); - resp = await LibeufinNexusApi.getTasks(nexus, user01nexus.localAccountName, "test-task"); + resp = await LibeufinNexusApi.getTasks( + nexus, + user01nexus.localAccountName, + "test-task", + ); t.assertTrue(resp.data["taskName"] == "test-task"); - await LibeufinNexusApi.deleteTask(nexus, user01nexus.localAccountName, "test-task"); + await LibeufinNexusApi.deleteTask( + nexus, + user01nexus.localAccountName, + "test-task", + ); try { - await LibeufinNexusApi.getTasks(nexus, user01nexus.localAccountName, "test-task"); + await LibeufinNexusApi.getTasks( + nexus, + user01nexus.localAccountName, + "test-task", + ); } catch (err) { t.assertTrue(err.response.status == 404); } diff --git a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-users.ts b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-users.ts index eb41bfe72..d4d451ed7 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-users.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-users.ts @@ -35,13 +35,10 @@ export async function runLibeufinApiUsersTest(t: GlobalTestState) { await nexus.start(); await nexus.pingUntilAvailable(); - await LibeufinNexusApi.createUser( - nexus, - { - username: "one", - password: "will-be-changed", - } - ); + await LibeufinNexusApi.createUser(nexus, { + username: "one", + password: "will-be-changed", + }); await LibeufinNexusApi.changePassword( nexus, @@ -52,19 +49,16 @@ export async function runLibeufinApiUsersTest(t: GlobalTestState) { auth: { username: "one", password: "will-be-changed", - } + }, }, ); - let resp = await LibeufinNexusApi.getUser( - nexus, - { - auth: { - username: "one", - password: "got-changed", - } - } - ); + let resp = await LibeufinNexusApi.getUser(nexus, { + auth: { + username: "one", + password: "got-changed", + }, + }); console.log(resp.data); t.assertTrue(resp.data["username"] == "one" && !resp.data["superuser"]); } diff --git a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-refund-multiple-users.ts b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-refund-multiple-users.ts index 9946e02d4..3a2288664 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-refund-multiple-users.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-refund-multiple-users.ts @@ -90,15 +90,15 @@ export async function runLibeufinRefundMultipleUsersTest(t: GlobalTestState) { libeufinServices.libeufinNexus, user02nexus.localAccountName, "1", // so far the only one that can exist. - ); + ); // Counterpart checks whether the reimbursement shows up. let history = await LibeufinSandboxApi.getAccountTransactions( libeufinServices.libeufinSandbox, - user01sandbox.ebicsBankAccount["label"] + user01sandbox.ebicsBankAccount["label"], ); - t.assertTrue(history["payments"].length == 1) + t.assertTrue(history["payments"].length == 1); } runLibeufinRefundMultipleUsersTest.suites = ["libeufin"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-refund.ts b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-refund.ts index f4288cb5e..4cd943f5d 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-refund.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-refund.ts @@ -80,14 +80,14 @@ export async function runLibeufinRefundTest(t: GlobalTestState) { libeufinServices.libeufinNexus, user02nexus.localAccountName, "1", // so far the only one that can exist. - ); + ); // Counterpart checks whether the reimbursement shows up. let history = await LibeufinSandboxApi.getAccountTransactions( libeufinServices.libeufinSandbox, - user01sandbox.ebicsBankAccount["label"] + user01sandbox.ebicsBankAccount["label"], ); - t.assertTrue(history["payments"].length == 1) + t.assertTrue(history["payments"].length == 1); } runLibeufinRefundTest.suites = ["libeufin"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-merchant-exchange-confusion.ts b/packages/taler-wallet-cli/src/integrationtests/test-merchant-exchange-confusion.ts index deb0026fc..3336f0c5e 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-merchant-exchange-confusion.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-merchant-exchange-confusion.ts @@ -109,7 +109,6 @@ export async function createConfusedMerchantTestkudosEnvironment( paytoUris: [`payto://x-taler-bank/merchant-default`], }); - await merchant.addInstance({ id: "minst1", name: "minst1", diff --git a/packages/taler-wallet-cli/src/integrationtests/test-merchant-refund-api.ts b/packages/taler-wallet-cli/src/integrationtests/test-merchant-refund-api.ts index 25c2ea365..32bc310d7 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-merchant-refund-api.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-merchant-refund-api.ts @@ -30,10 +30,7 @@ import { withdrawViaBank, SimpleTestEnvironment, } from "./helpers"; -import { - durationFromSpec, - PreparePayResultType, -} from "@gnu-taler/taler-util"; +import { durationFromSpec, PreparePayResultType } from "@gnu-taler/taler-util"; import axios from "axios"; import { URL } from "@gnu-taler/taler-wallet-core"; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-pay-abort.ts b/packages/taler-wallet-cli/src/integrationtests/test-pay-abort.ts index 4d0ea489d..10f9904f1 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-pay-abort.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-pay-abort.ts @@ -23,9 +23,7 @@ * Imports. */ import { PreparePayResultType, TalerErrorCode } from "@gnu-taler/taler-util"; -import { - URL, -} from "@gnu-taler/taler-wallet-core"; +import { URL } from "@gnu-taler/taler-wallet-core"; import { FaultInjectionRequestContext, FaultInjectionResponseContext, @@ -152,4 +150,4 @@ export async function runPayAbortTest(t: GlobalTestState) { t.assertDeepEqual(txTypes, ["withdrawal", "payment", "refund"]); } -runPayAbortTest.suites = ["wallet"];
\ No newline at end of file +runPayAbortTest.suites = ["wallet"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-paywall-flow.ts b/packages/taler-wallet-cli/src/integrationtests/test-paywall-flow.ts index ba4ef2910..865fd77d1 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-paywall-flow.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-paywall-flow.ts @@ -232,4 +232,4 @@ export async function runPaywallFlowTest(t: GlobalTestState) { t.assertTrue(pubUnpaidStatus.already_paid_order_id === firstOrderId); } -runPaywallFlowTest.suites = ["wallet"];
\ No newline at end of file +runPaywallFlowTest.suites = ["wallet"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-refund-auto.ts b/packages/taler-wallet-cli/src/integrationtests/test-refund-auto.ts index 36bdfac2c..a78b0ecca 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-refund-auto.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-refund-auto.ts @@ -99,4 +99,4 @@ export async function runRefundAutoTest(t: GlobalTestState) { await t.shutdown(); } -runRefundAutoTest.suites = ["wallet"];
\ No newline at end of file +runRefundAutoTest.suites = ["wallet"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-refund-gone.ts b/packages/taler-wallet-cli/src/integrationtests/test-refund-gone.ts index abaa10f71..c2640bb22 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-refund-gone.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-refund-gone.ts @@ -126,4 +126,4 @@ export async function runRefundGoneTest(t: GlobalTestState) { await t.shutdown(); } -runRefundGoneTest.suites = ["wallet"];
\ No newline at end of file +runRefundGoneTest.suites = ["wallet"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-refund-incremental.ts b/packages/taler-wallet-cli/src/integrationtests/test-refund-incremental.ts index 4c046cbe7..55f8ad6cd 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-refund-incremental.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-refund-incremental.ts @@ -189,4 +189,4 @@ export async function runRefundIncrementalTest(t: GlobalTestState) { await t.shutdown(); } -runRefundIncrementalTest.suites = ["wallet"];
\ No newline at end of file +runRefundIncrementalTest.suites = ["wallet"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/testrunner.ts b/packages/taler-wallet-cli/src/integrationtests/testrunner.ts index 4898a9eff..c50838f0f 100644 --- a/packages/taler-wallet-cli/src/integrationtests/testrunner.ts +++ b/packages/taler-wallet-cli/src/integrationtests/testrunner.ts @@ -135,7 +135,7 @@ const allTests: TestMainFunction[] = [ export interface TestRunSpec { includePattern?: string; suiteSpec?: string; - dryRun?: boolean, + dryRun?: boolean; } export interface TestInfo { |