You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@karlismelderis I see. The linter is not aware of chai plugins, so the best we can do is to add a configurable whitelist of chai asserts. Will look into it this weekend.
I caught that due to this lint rule setup:
Things like this pass through:
.to.be.disabled
Where syntax should be:
.to.be.disabled()
As we don't have any plugin that has such .disabled implementation but do have .disabled().
Issue is that Jest just moves on happily and marks tests as green irrelevant of syntax.
no-unused-expressions
and IntelliJ code inspection is able to detect this error.The text was updated successfully, but these errors were encountered: