diff options
author | ms <ms@taler.net> | 2021-11-01 14:25:43 +0100 |
---|---|---|
committer | ms <ms@taler.net> | 2021-11-01 14:48:49 +0100 |
commit | ea2acd1d3caa21f23127687214045a49d8fea0ad (patch) | |
tree | f8db5fca822b752e30b93306e7d207868d4cd915 /packages/taler-wallet-cli/src/harness/helpers.ts | |
parent | 404c8c8a73c53a8f5432db9838326753864b7136 (diff) |
Testing harness.
No need to import modules dynamically, in order to
provide the euFin implementation of the BankServiceInterface.
Diffstat (limited to 'packages/taler-wallet-cli/src/harness/helpers.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/harness/helpers.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-cli/src/harness/helpers.ts b/packages/taler-wallet-cli/src/harness/helpers.ts index 1dc38f0ff..59e41d1ad 100644 --- a/packages/taler-wallet-cli/src/harness/helpers.ts +++ b/packages/taler-wallet-cli/src/harness/helpers.ts @@ -63,7 +63,7 @@ export interface SimpleTestEnvironment { } export function getRandomIban(countryCode: string): string { - return `${countryCode}715001051796${Math.floor(Math.random() * 1000000)}`; + return `${countryCode}715001051796${(Math.random().toString().substring(2, 8))}` } export function getRandomString(): string { |