We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This should be considered a warning:
describe('foo', function () { var fixture = fs.readFileSync('foo.txt'); });
You should read the file in a before hook instead.
The problem with such code is that it will be executed during the process startup time. It will be even executed if you skip the test suite.
I'm not 100% sure how to achieve this. Disallowing every call expression would also disallow using forEach for parameterized tests.
The text was updated successfully, but these errors were encountered:
Fixed by #147
Sorry, something went wrong.
No branches or pull requests
This should be considered a warning:
You should read the file in a before hook instead.
The problem with such code is that it will be executed during the process startup time. It will be even executed if you skip the test suite.
I'm not 100% sure how to achieve this. Disallowing every call expression would also disallow using forEach for parameterized tests.
The text was updated successfully, but these errors were encountered: