Skip to content

Commit

Permalink
test(docs): fix test timeout (#2782)
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT authored Apr 20, 2024
1 parent 016a5b6 commit b27d4fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/scripts/apidocs/verify-jsdoc-tags.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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,
Expand Down

0 comments on commit b27d4fc

Please sign in to comment.