This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
Allow this.timeout in mocha-no-side-effect-code #446
Labels
Difficulty: Easy
Someone with little to no experience in TSLint should be able to send a pull request for this issue.
Good First Issue 🙌
Howdy, neighbor!
Resolution: Fixed
Hooray!
Type: Rule Feature
Adding a feature to an existing rule.
Milestone
this.timeout()
is valid at suite-level but by default,mocha-no-side-effect-code
says:At the moment, we have to ignore it using the following, but it would be nice if the rule was whitelisting it itself:
According to the docs, it seems
this.retries()
andthis.slow()
should get the same preferential treatment.The text was updated successfully, but these errors were encountered: