aboutsummaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorShinigami <[email protected]>2022-10-15 07:49:26 +0800
committerGitHub <[email protected]>2022-10-14 23:49:26 +0000
commit5aa747f7c0e6f4f67044d71139d2f2cf20256a32 (patch)
treeb27fe464550cf5786875bfcb86496b4648ebcd0e /test/scripts
parenta7cd422c6cbfe10f110e1fc53c88559198a97f08 (diff)
downloadfaker-5aa747f7c0e6f4f67044d71139d2f2cf20256a32.tar.xz
faker-5aa747f7c0e6f4f67044d71139d2f2cf20256a32.zip
refactor!: make mersenne internal (#1444)
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/apidoc/examplesAndDeprecations.spec.ts16
1 files changed, 7 insertions, 9 deletions
diff --git a/test/scripts/apidoc/examplesAndDeprecations.spec.ts b/test/scripts/apidoc/examplesAndDeprecations.spec.ts
index 37d61399..772307a9 100644
--- a/test/scripts/apidoc/examplesAndDeprecations.spec.ts
+++ b/test/scripts/apidoc/examplesAndDeprecations.spec.ts
@@ -32,15 +32,13 @@ describe('examples and deprecations', () => {
const modules: Record<string, DeclarationReflection[]> = selectApiModules(
project
- )
- .filter((module) => module.name !== 'MersenneModule')
- .reduce(
- (a, v) => ({
- ...a,
- [v.name]: v.getChildrenByKind(ReflectionKind.Method),
- }),
- {}
- );
+ ).reduce(
+ (a, v) => ({
+ ...a,
+ [v.name]: v.getChildrenByKind(ReflectionKind.Method),
+ }),
+ {}
+ );
const consoleSpies: Array<SpyInstance> = Object.keys(console)
.filter((key) => typeof console[key] === 'function')