From cd89085273950282ef353e0ab63b0c54c686323a Mon Sep 17 00:00:00 2001 From: Bram Borggreve Date: Mon, 18 Oct 2021 03:12:06 -0500 Subject: [PATCH] test: increase test timeouts --- e2e/stack-e2e/tests/stack.spec.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/e2e/stack-e2e/tests/stack.spec.ts b/e2e/stack-e2e/tests/stack.spec.ts index 17553916..dbf9f8f7 100644 --- a/e2e/stack-e2e/tests/stack.spec.ts +++ b/e2e/stack-e2e/tests/stack.spec.ts @@ -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') @@ -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) + }) })