Skip to content

Commit dabab95

Browse files
committed
test(media): drop ignoreLint coverage after helper removal
1 parent 212b869 commit dabab95

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

tests/media/utils.test.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, expect, it } from 'vitest'
2-
import { generateId, ignoreLint } from '../../src/media/utils.js'
2+
import { generateId } from '../../src/media/utils.js'
33

44
describe('media/utils', () => {
55
it('U1: generateId returns a non-empty base36 string', () => {
@@ -12,10 +12,4 @@ describe('media/utils', () => {
1212
const ids = new Set(Array.from({ length: 50 }, () => generateId()))
1313
expect(ids.size).toBeGreaterThan(1)
1414
})
15-
16-
it('U3: ignoreLint returns its argument unchanged', () => {
17-
const obj = { a: 1 }
18-
expect(ignoreLint(obj)).toBe(obj)
19-
expect(ignoreLint(null)).toBeNull()
20-
})
2115
})

0 commit comments

Comments
 (0)