Skip to content

Commit a596501

Browse files
authored
test: fix jest plugin usage in integration test (typescript-eslint#10328)
* test: fix jest plugin usage in integration test * fixup
1 parent 0409851 commit a596501

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

packages/integration-tests/fixtures/flat-config-types-@types__eslint-v8/eslint.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,5 @@ function _otherCases() {
6161
deprecationPlugin.configs.recommended,
6262
// this should error but doesn't because there are no types exported from the jest plugin
6363
jestPlugin.configs.recommended,
64-
// this should error but doesn't because there are no types exported from the jest plugin
65-
...jestPlugin.configs['flat/recommended'],
6664
);
6765
}

packages/integration-tests/fixtures/flat-config-types-@types__eslint-v9/eslint.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,5 @@ function _otherCases() {
6161
deprecationPlugin.configs.recommended,
6262
// this should error but doesn't because there are no types exported from the jest plugin
6363
jestPlugin.configs.recommended,
64-
// this should error but doesn't because there are no types exported from the jest plugin
65-
...jestPlugin.configs['flat/recommended'],
6664
);
6765
}

packages/integration-tests/tests/__snapshots__/flat-config-types-@types__eslint-v8.test.ts.snap

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ function _otherCases() {
106106
deprecationPlugin.configs.recommended,
107107
// this should error but doesn't because there are no types exported from the jest plugin
108108
jestPlugin.configs.recommended,
109-
// this should error but doesn't because there are no types exported from the jest plugin
110-
...jestPlugin.configs['flat/recommended'],
111109
)
112110
}
113111
",

packages/integration-tests/tests/__snapshots__/flat-config-types-@types__eslint-v9.test.ts.snap

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ function _otherCases() {
106106
deprecationPlugin.configs.recommended,
107107
// this should error but doesn't because there are no types exported from the jest plugin
108108
jestPlugin.configs.recommended,
109-
// this should error but doesn't because there are no types exported from the jest plugin
110-
...jestPlugin.configs['flat/recommended'],
111109
)
112110
}
113111
",

0 commit comments

Comments
 (0)