Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mock performance.now(), fixes #24 #25

Merged
merged 1 commit into from Nov 17, 2020
Merged

Conversation

insidewhy
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented May 26, 2020

Pull Request Test Coverage Report for Build 45

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 43: 0.0%
Covered Lines: 18
Relevant Lines: 18

💛 - Coveralls

@insidewhy
Copy link
Contributor Author

insidewhy commented May 26, 2020

It might be nice to provide an API to advance the performance.now() time beyond the now() time in order to test certain conditions for users of window.performance.now, but this PR is probably a good start.

src/index.js Show resolved Hide resolved
@hustcc hustcc merged commit d50393a into hustcc:master Nov 17, 2020
@hustcc
Copy link
Owner

hustcc commented Nov 17, 2020

It might be nice to provide an API to advance the performance.now() time beyond the now() time in order to test certain conditions for users of window.performance.now, but this PR is probably a good start.

Also, document of readme should be update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants