Skip to content

Commit e91d25e

Browse files
committed
longer timeout for article-api tests that were timing out
1 parent 93fb820 commit e91d25e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/article-api/tests/pageinfo.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ interface ErrorResponse{
1717
error: string
1818
}
1919

20-
describe('pageinfo api',()=>{
20+
describe('pageinfo api',{timeout: 10000},()=>{
2121
beforeAll(()=>{
2222
// If you didn't set the `ROOT` variable, the tests will fail rather
2323
// cryptically. So as a warning for engineers running these tests,

‎src/article-api/tests/rest-transformer.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const makeURL = (pathname: string, apiVersion?: string): string =>{
1010
return`/api/article/body?${params}`
1111
}
1212

13-
describe('REST transformer',()=>{
13+
describe('REST transformer',{timeout: 10000},()=>{
1414
beforeAll(()=>{
1515
if(!process.env.ROOT){
1616
console.warn(

0 commit comments

Comments
(0)