Repo: [strict-boolean-expressions.test.ts] Switch auto-generated test cases to hand-written #11051
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
repo maintenance
things to do with maintenance of the repo, and not with code/docs
Suggestion
Some
RuleTester
tests in this repo are generated dynamically. Auto-generating tests like that can help create comprehensive test coverage for rules - but:We'd like to move away from these auto-generated / dynamic test cases. That specifically means making all test cases passed to
RuleTester
be completely inline plain old JavaScript objects. No.flatMap
s/.map
s, nodedupeTestCases
, helper functions, etc.This issue tracks doing so for
packages/eslint-plugin/tests/rules/strict-boolean-expressions.test.ts
.Additional Info
💖
The text was updated successfully, but these errors were encountered: