test-phase-label-comment
Tests must not use bare Arrange, Act, Assert, Given, When, or Then phase comments.
Why
Phase labels narrate test structure without explaining behavior and often hide unclear names or oversized tests.
Fix
Delete the label; if the phases remain hard to follow, extract a named helper or split the test.
Examples
// Arrangeconst widget = makeWidget();// Then the retry loop would spin forever.expect(run()).toBe(true);Autofix output
const widget = makeWidget();