longer timeout for article-api tests that were timing out
This commit is contained in:
@@ -17,7 +17,7 @@ interface ErrorResponse {
|
|||||||
error: string
|
error: string
|
||||||
}
|
}
|
||||||
|
|
||||||
describe('pageinfo api', () => {
|
describe('pageinfo api', { timeout: 10000 }, () => {
|
||||||
beforeAll(() => {
|
beforeAll(() => {
|
||||||
// If you didn't set the `ROOT` variable, the tests will fail rather
|
// If you didn't set the `ROOT` variable, the tests will fail rather
|
||||||
// cryptically. So as a warning for engineers running these tests,
|
// 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}`
|
return `/api/article/body?${params}`
|
||||||
}
|
}
|
||||||
|
|
||||||
describe('REST transformer', () => {
|
describe('REST transformer', { timeout: 10000 }, () => {
|
||||||
beforeAll(() => {
|
beforeAll(() => {
|
||||||
if (!process.env.ROOT) {
|
if (!process.env.ROOT) {
|
||||||
console.warn(
|
console.warn(
|
||||||
|
|||||||
Reference in New Issue
Block a user