Pattern: Commented out test
Issue: -
Tests that are commented out may be forgotten and never uncommented. If a test is temporarily unnecessary, use .skip()
or remove it entirely.
Example of incorrect code:
// describe('foo', () => {});
// it('foo', () => {});
// test('foo', () => {});
// test.skip('foo', () => {});
Example of correct code:
describe('foo', () => {});
test.skip('foo', () => {});
it('foo', () => {});