Skip to content
This repository was archived by the owner on Dec 27, 2018. It is now read-only.

Allow specifying global mocha timeout#9

Open
Ben305 wants to merge 1 commit into
practicalmeteor:practicalmeteorfrom
Ben305:mocha-timeout
Open

Allow specifying global mocha timeout#9
Ben305 wants to merge 1 commit into
practicalmeteor:practicalmeteorfrom
Ben305:mocha-timeout

Conversation

@Ben305

@Ben305 Ben305 commented Aug 16, 2016

Copy link
Copy Markdown

Our build server is sometimes a bit slower, and executing a single test can take longer than 2000ms. Sometimes, even a beforeEach is marked as failed because it takes longer than 2000ms.

This PR allows to set the global mocha timeout by setting an environment variable, which will override the default value.

@arist0tl3

Copy link
Copy Markdown

@aldeed Wondering about the possibility of getting this PR in, as right now building the package locally with this PR is really slowing down the tests.

Thanks!

@aldeed

aldeed commented Oct 6, 2017

Copy link
Copy Markdown
Collaborator

@arist0tl3 Although I could merge this, I'm not listed as a maintainer so I couldn't publish it. I haven't heard much from @jsep or @rbabayoff lately so I'm not sure if this is abandoned. Might need to consider forking it into the meteortesting org/namespace.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants