longer timeout for article-api tests that were timing out
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user