diff options
| author | Matt Mayer <[email protected]> | 2025-02-10 02:13:06 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-02-09 20:13:06 +0100 |
| commit | 9e1395380cf9baf9f0350c43cbbc303430e77dfb (patch) | |
| tree | a2f7e1a0cf50022e63192c8f1d58c4ace6b24884 /test/scripts | |
| parent | f9dd56009688f73ab6e7090083f5678741439dd5 (diff) | |
| download | faker-9e1395380cf9baf9f0350c43cbbc303430e77dfb.tar.xz faker-9e1395380cf9baf9f0350c43cbbc303430e77dfb.zip | |
feat(image): add AI-generated avatars (#3126)
Diffstat (limited to 'test/scripts')
| -rw-r--r-- | test/scripts/apidocs/__snapshots__/verify-jsdoc-tags.spec.ts.snap | 1 | ||||
| -rw-r--r-- | test/scripts/apidocs/verify-jsdoc-tags.spec.ts | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/test/scripts/apidocs/__snapshots__/verify-jsdoc-tags.spec.ts.snap b/test/scripts/apidocs/__snapshots__/verify-jsdoc-tags.spec.ts.snap index c13b2811..07983094 100644 --- a/test/scripts/apidocs/__snapshots__/verify-jsdoc-tags.spec.ts.snap +++ b/test/scripts/apidocs/__snapshots__/verify-jsdoc-tags.spec.ts.snap @@ -243,6 +243,7 @@ exports[`check docs completeness > all modules and methods are present 1`] = ` "avatarGitHub", "avatarLegacy", "dataUri", + "personPortrait", "url", "urlLoremFlickr", "urlPicsumPhotos", diff --git a/test/scripts/apidocs/verify-jsdoc-tags.spec.ts b/test/scripts/apidocs/verify-jsdoc-tags.spec.ts index 703e42cf..dd77620d 100644 --- a/test/scripts/apidocs/verify-jsdoc-tags.spec.ts +++ b/test/scripts/apidocs/verify-jsdoc-tags.spec.ts @@ -147,7 +147,7 @@ ${examples}`; if (!examples.includes('import ')) { const imports = [ // collect the imports for the various locales e.g. fakerDE_CH - ...new Set(examples.match(/(?<!\.)faker[^.]*(?=\.)/g)), + ...new Set(examples.match(/(?<!\.)faker[^.-]*(?=\.)/g)), ]; if (imports.length > 0) { |
