style: remove redundant eslint suppressions (#1667)

This commit is contained in:
Piotr Idzik
2024-06-11 22:10:48 +02:00
committed by GitHub
parent 1554ba5f9c
commit 79b93d35b6
6 changed files with 1 additions and 11 deletions

View File

@ -22,13 +22,12 @@ describe('FindMinIterator', () => {
})
test('given empty generator then min is undefined', () => {
const src = function* () {} // eslint-disable-line
const src = function* () {}
expect(FindMinIterator(src())).toBeUndefined()
})
test('given generator then min is found', () => {
const src = function* () {
// eslint-disable-line
yield 1
yield -1
yield 0
@ -38,7 +37,6 @@ describe('FindMinIterator', () => {
test('given string generator then min string length is found', () => {
const src = function* () {
// eslint-disable-line
yield 'abc'
yield 'de'
yield 'qwerty'