Skip to content

Commit 56274a5

Browse files
committed
test(napi/parser): increase timeout on slow test (#14391)
1 raw transfer test sometimes takes longer than 5 secs on CI. Increase the timeout.
1 parent d29364c commit 56274a5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

napi/parser/test/parse-raw.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@ describe.concurrent('fixtures', () => {
225225
it.each(benchFixturePaths)('%s', path => runCaseInWorker(TEST_TYPE_FIXTURE, path));
226226
});
227227

228-
describeRangeParent.concurrent('range & parent fixtures', () => {
228+
// `antd.js` test sometimes takes longer than 5 seconds on CI, so increase timeout to 10 seconds
229+
describeRangeParent.concurrent('range & parent fixtures', { timeout: 10_000 }, () => {
229230
// oxlint-disable-next-line jest/expect-expect
230231
it.each(benchFixturePaths)('%s', path => runCaseInWorker(TEST_TYPE_FIXTURE | TEST_TYPE_RANGE_PARENT, path));
231232
});

0 commit comments

Comments
 (0)