test: increase e2e tests timeout

This commit is contained in:
Evan You
2020-02-05 21:10:43 -05:00
parent 9b3b6962df
commit 0b90baec28
7 changed files with 92 additions and 42 deletions

View File

@@ -1,5 +1,5 @@
import path from 'path'
import { setupPuppeteer } from './e2eUtils'
import { setupPuppeteer, E2E_TIMEOUT } from './e2eUtils'
import mocks from './commits.mock'
describe('e2e: commits', () => {
@@ -46,11 +46,19 @@ describe('e2e: commits', () => {
expect(await count('li .message')).toBe(3)
}
test('classic', async () => {
await testCommits('classic')
})
test(
'classic',
async () => {
await testCommits('classic')
},
E2E_TIMEOUT
)
test('composition', async () => {
await testCommits('composition')
})
test(
'composition',
async () => {
await testCommits('composition')
},
E2E_TIMEOUT
)
})