diff options
| author | Suyash Gulati <[email protected]> | 2024-10-13 04:23:36 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-10-12 22:53:36 +0000 |
| commit | 34cf3643bee275f23bc7a39376c1b3d542a8c45f (patch) | |
| tree | 712ee3ca0530f2291b9a95cb3d690207ea128db1 /test/scripts | |
| parent | e271d4a545dd48e57285019e4f412358c49cad0d (diff) | |
| download | faker-34cf3643bee275f23bc7a39376c1b3d542a8c45f.tar.xz faker-34cf3643bee275f23bc7a39376c1b3d542a8c45f.zip | |
refactor(internet): rename userName method to username (#3130)
Diffstat (limited to 'test/scripts')
| -rw-r--r-- | test/scripts/apidocs/verify-jsdoc-tags.spec.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/scripts/apidocs/verify-jsdoc-tags.spec.ts b/test/scripts/apidocs/verify-jsdoc-tags.spec.ts index 753ef9b3..0456d8ee 100644 --- a/test/scripts/apidocs/verify-jsdoc-tags.spec.ts +++ b/test/scripts/apidocs/verify-jsdoc-tags.spec.ts @@ -36,6 +36,11 @@ function resolvePathToMethodFile( signature: number ): string { const dir = resolveDirToModule(moduleName); + // TODO @ST-DDT 2024-09-23: Remove this in v10 + if (methodName === 'userName') { + methodName = 'userNameDeprecated'; + } + return resolve(dir, `${methodName}_${signature}.ts`); } |
