Skip to content

Commit

Permalink
set timeouts appropriately
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgoss committed Oct 3, 2023
1 parent 89ec3b6 commit 668c8a5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .mocharc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ forbid-pending: true
recursive: true
reporter: dot
require: 'ts-node/register'
timeout: 5000
timeout: 3000
4 changes: 3 additions & 1 deletion src/api/load_support_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
4 changes: 3 additions & 1 deletion src/api/run_cucumber_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit 668c8a5

Please sign in to comment.