diff --git a/.mocharc.yml b/.mocharc.yml index cc5ce9304..ec5b61292 100644 --- a/.mocharc.yml +++ b/.mocharc.yml @@ -7,4 +7,4 @@ forbid-pending: true recursive: true reporter: dot require: 'ts-node/register' -timeout: 5000 +timeout: 3000 diff --git a/src/api/load_support_spec.ts b/src/api/load_support_spec.ts index 49a0ba9ca..d4c0e517c 100644 --- a/src/api/load_support_spec.ts +++ b/src/api/load_support_spec.ts @@ -5,7 +5,9 @@ import { loadConfiguration } from './load_configuration' import { expect } from 'chai' import { setupEnvironment, teardownEnvironment } from './test_helpers' -describe('loadSupport', () => { +describe('loadSupport', function () { + this.timeout(10_000) + let environment: IRunEnvironment beforeEach(async () => { environment = await setupEnvironment() diff --git a/src/api/run_cucumber_spec.ts b/src/api/run_cucumber_spec.ts index 33279c80e..df9f82d44 100644 --- a/src/api/run_cucumber_spec.ts +++ b/src/api/run_cucumber_spec.ts @@ -6,7 +6,9 @@ import { loadSupport } from './load_support' import { loadConfiguration } from './load_configuration' import { setupEnvironment, teardownEnvironment } from './test_helpers' -describe('runCucumber', () => { +describe('runCucumber', function () { + this.timeout(10_000) + describe('preloading support code', () => { let environment: IRunEnvironment beforeEach(async () => {