diff --git a/test/scripts/apidoc/verify-jsdoc-tags.spec.ts b/test/scripts/apidoc/verify-jsdoc-tags.spec.ts index 1e8fc55e2b0..7123a15060d 100644 --- a/test/scripts/apidoc/verify-jsdoc-tags.spec.ts +++ b/test/scripts/apidoc/verify-jsdoc-tags.spec.ts @@ -117,7 +117,9 @@ describe('verify JSDoc tags', () => { mkdirSync(dir, { recursive: true }); const path = resolvePathToMethodFile(moduleName, methodName); - const imports = [...new Set(examples.match(/faker[^\.]*(?=\.)/g))]; + const imports = [ + ...new Set(examples.match(/(?