diff options
| author | ST-DDT <[email protected]> | 2024-04-20 21:29:43 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-04-20 21:29:43 +0200 |
| commit | b27d4fceebda1ff01b054d99e7211bd31ba108d1 (patch) | |
| tree | a32e117097a346340a0f13f7bd97f6908502f942 /test | |
| parent | 016a5b62f678013a4f9a50bda10dcf20405a6e55 (diff) | |
| download | faker-b27d4fceebda1ff01b054d99e7211bd31ba108d1.tar.xz faker-b27d4fceebda1ff01b054d99e7211bd31ba108d1.zip | |
test(docs): fix test timeout (#2782)
Diffstat (limited to 'test')
| -rw-r--r-- | test/scripts/apidocs/verify-jsdoc-tags.spec.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/scripts/apidocs/verify-jsdoc-tags.spec.ts b/test/scripts/apidocs/verify-jsdoc-tags.spec.ts index 16f0ea51..ea5ed8b9 100644 --- a/test/scripts/apidocs/verify-jsdoc-tags.spec.ts +++ b/test/scripts/apidocs/verify-jsdoc-tags.spec.ts @@ -147,7 +147,7 @@ ${examples}`; assertDescription(signature.description); }); - it('verify @example tag', async () => { + it('verify @example tag', { timeout: 30000 }, async () => { const examples = signature.examples.join('\n'); expect( @@ -171,7 +171,7 @@ ${examples}`; // This only checks whether the whole method is deprecated or not // It does not check whether the method is deprecated for a specific set of arguments - it('verify @deprecated tag', async () => { + it('verify @deprecated tag', { timeout: 30000 }, async () => { // Grab path to example file const path = resolvePathToMethodFile( moduleName, |
