Skip to content

Conversation

@miloconway
Copy link

Sinon.js exposes a functionality that mocks global timing functions. This change will save a reference to the global timing functions to prevent subsequent clobbering from affecting runner.js

See also: https://github.com/visionmedia/mocha/blob/master/lib/runnable.js#L10-L18

@chapel

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wpreul newline added

@geek geek added this to the 4.1.0 milestone Aug 19, 2014
@geek geek self-assigned this Aug 19, 2014
geek added a commit that referenced this pull request Aug 19, 2014
Feature - Prevent clobbered timer globals from interfering with runner
@geek geek merged commit fbe07f4 into hapijs:master Aug 19, 2014
@geek geek mentioned this pull request Aug 20, 2014
@lock
Copy link

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

feature New functionality or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants