Skip to content

Commit 8a10f4c

Browse files
authored
chore: set timeouts appropriately (#2333)
1 parent 89ec3b6 commit 8a10f4c

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.mocharc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ forbid-pending: true
77
recursive: true
88
reporter: dot
99
require: 'ts-node/register'
10-
timeout: 5000
10+
timeout: 3000

src/api/load_support_spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ import { loadConfiguration } from './load_configuration'
55
import { expect } from 'chai'
66
import { setupEnvironment, teardownEnvironment } from './test_helpers'
77

8-
describe('loadSupport', () => {
8+
describe('loadSupport', function () {
9+
this.timeout(10_000)
10+
911
let environment: IRunEnvironment
1012
beforeEach(async () => {
1113
environment = await setupEnvironment()

src/api/run_cucumber_spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ import { loadSupport } from './load_support'
66
import { loadConfiguration } from './load_configuration'
77
import { setupEnvironment, teardownEnvironment } from './test_helpers'
88

9-
describe('runCucumber', () => {
9+
describe('runCucumber', function () {
10+
this.timeout(10_000)
11+
1012
describe('preloading support code', () => {
1113
let environment: IRunEnvironment
1214
beforeEach(async () => {

0 commit comments

Comments
 (0)