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

Docs: Use jest.setTimeout instead of jasmine timeout #562

Merged
merged 3 commits into from
Feb 12, 2018

Conversation

thymikee
Copy link
Contributor

@thymikee thymikee commented Feb 6, 2018

Summary

Replace jasmine.DEFAULT_TIMEOUT_INTERVAL with jest.setTimeout() in Jest Guide.
Since jest@20 or so jest.setTimeout is available, instead of jasmine-specific timeout constant. I think it's worth using official APIs when available.

Since jest@20 or so [jest.setTimeout](https://facebook.github.io/jest/docs/en/jest-object.html#jestsettimeouttimeout) is available, instead of jasmine-specific timeout constant.
@rotemmiz
Copy link
Member

rotemmiz commented Feb 7, 2018

Can you please rebase the branch (or master into it), I want to make sure everything is green on Travis

@thymikee
Copy link
Contributor Author

thymikee commented Feb 7, 2018

The build failure is unrelated, but we can wait until you resolve that, no rush :)

@rotemmiz
Copy link
Member

builds are green again, please rebase your PR.

@rotemmiz rotemmiz changed the title Use jest.setTimeout instead of jasmine timeout Docs: Use jest.setTimeout instead of jasmine timeout Feb 12, 2018
@rotemmiz rotemmiz merged commit bee460e into wix:master Feb 12, 2018
@thymikee thymikee deleted the patch-1 branch February 12, 2018 13:12
@wix wix locked and limited conversation to collaborators Jul 23, 2018
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.

2 participants