lint/pest/no-before-all-in-describe
In the lint-recommended preset and every stricter one. In Rector’s pest/coding-style set. Needs the pest extension. Safe fix.
What it does
Replaces invalid beforeAll() and afterAll() hooks inside describe() with beforeEach() and afterEach()
Configuration
[lint.rules]
"pest/no-before-all-in-describe" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
ConvertBeforeAllInDescribe(pest-plugin-rector)