1
0
mirror of synced 2025-12-19 09:57:42 -05:00

longer timeout for article-api tests that were timing out

This commit is contained in:
Robert Sese
2025-12-14 14:25:38 -06:00
parent 93fb820585
commit e91d25e768
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ interface ErrorResponse {
error: string
}
describe('pageinfo api', () => {
describe('pageinfo api', { timeout: 10000 }, () => {
beforeAll(() => {
// If you didn't set the `ROOT` variable, the tests will fail rather
// cryptically. So as a warning for engineers running these tests,

View File

@@ -10,7 +10,7 @@ const makeURL = (pathname: string, apiVersion?: string): string => {
return `/api/article/body?${params}`
}
describe('REST transformer', () => {
describe('REST transformer', { timeout: 10000 }, () => {
beforeAll(() => {
if (!process.env.ROOT) {
console.warn(