Skip to content

Commit

Permalink
test: increase test timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
beeman committed Oct 18, 2021
1 parent a32926a commit cd89085
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions e2e/stack-e2e/tests/stack.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ describe('stack e2e', () => {
console.log('Install packages second run')
await runPackageManagerInstall()
console.log('Test project created')
}, 600000)
}, 2000000)

it('should push prisma schema', async () => {
console.log('run prisma:db-push')
const prismaResult = await runCommandAsync(`yarn prisma:db-push`)
expect(prismaResult.stderr).toBe('')
expect(prismaResult.stdout).toContain('Your database is now in sync with your schema.')
}, 60000)
})

it('should build api', async () => {
console.log('Build API')
Expand All @@ -39,17 +39,17 @@ describe('stack e2e', () => {
expect(buildApiResult.stderr).toContain('Found an outdated version of webpack-merge')
expect(buildApiResult.stdout).toContain('[entry]')
expect(buildApiResult.stdout).toContain('[rendered]')
}, 60000)
})

it('should build web', async () => {
console.log('Build Web')
const buildWebResult = await runCommandAsync(`yarn build:${nameWeb}`)
expect(buildWebResult.stdout).toContain('Build at:')
}, 90000)
})

it('should build mobile', async () => {
console.log('Build Mobile')
const buildMobileResult = await runCommandAsync(`yarn build:${nameMobile}`)
expect(buildMobileResult.stdout).toContain('Build at:')
}, 90000)
})
})

0 comments on commit cd89085

Please sign in to comment.