Skip to content

Commit 19b103c

Browse files
committed
test(end-to-end): remove unused '@ts-expect-error' directive
1 parent 937322f commit 19b103c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

test/end-to-end.test.ts

-7
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@ import { beforeAll, describe, expect, it } from '@jest/globals';
33
import { RuleOutcome } from '@commitlint/types';
44

55
describe('commitlint plugin function rules', () => {
6-
/**
7-
* Due to a but in the `describe.each` type, it is not possible to use it with
8-
* `@jest/globals`. See https://github.com/facebook/jest/issues/10447 for
9-
* the specific issue. As a workaround the TypeScript error is ignored.
10-
*/
11-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
12-
// @ts-expect-error: TS2349: This expression is not callable.
136
describe.each(['9.x', '10.x', '11.x'])(
147
'commitlint v%s',
158
(version: string) => {

0 commit comments

Comments
 (0)