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

Mocha migration this.timeout and this.slow #56

Open
kornelski opened this issue May 21, 2017 · 2 comments
Open

Mocha migration this.timeout and this.slow #56

kornelski opened this issue May 21, 2017 · 2 comments

Comments

@kornelski
Copy link

Mocha allows configuration of test timeout and warning about test slowness. These functions are not migrated, causing runtime errors in jest:

describe('test', function() {
    this.timeout(10000);
    
});
@skovhus
Copy link
Owner

skovhus commented Jun 5, 2017

@pornel thanks for reporting this.

Not sure what this should be changed to. Modifying global jasmine timeout probably isn't what the user want... So I guess adding a warning would be a good start.

@kornelski
Copy link
Author

Removing/commenting out would be fine IMHO.

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

No branches or pull requests

2 participants