aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2023-11-07 17:42:14 +0100
committerGitHub <[email protected]>2023-11-07 16:42:14 +0000
commite0ba50b37e438503ed1899bff35afc92b4f8f49c (patch)
tree20314c515bcddb3698c93a46168715ffc5a98ab4 /src/modules
parent8542ef30bd4eda3d9f04db2c4a79abf0369d57c3 (diff)
downloadfaker-e0ba50b37e438503ed1899bff35afc92b4f8f49c.tar.xz
faker-e0ba50b37e438503ed1899bff35afc92b4f8f49c.zip
fix(finance): maskedNumber has incorrect defaults (#2494)
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/finance/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/finance/index.ts b/src/modules/finance/index.ts
index ddf3fffe..4e0d80ed 100644
--- a/src/modules/finance/index.ts
+++ b/src/modules/finance/index.ts
@@ -345,7 +345,7 @@ export class FinanceModule extends ModuleBase {
options = { length: options };
}
- const { ellipsis, length = 4, parens } = options;
+ const { ellipsis = true, length = 4, parens = true } = options;
let template = this.faker.string.numeric({ length });