Skip to content

Commit 252acab

Browse files
authored
Merge branch 'next' into fix/typedoc-test-issues
2 parents 3ba2606 + 2fe1308 commit 252acab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/scripts/apidoc/verify-jsdoc-tags.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,9 @@ describe('verify JSDoc tags', () => {
117117
mkdirSync(dir, { recursive: true });
118118

119119
const path = resolvePathToMethodFile(moduleName, methodName);
120-
const imports = [...new Set(examples.match(/faker[^\.]*(?=\.)/g))];
120+
const imports = [
121+
...new Set(examples.match(/(?<!\.)faker[^\.]*(?=\.)/g)),
122+
];
121123
writeFileSync(
122124
path,
123125
`import { ${imports.join(

0 commit comments

Comments
 (0)