You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oops! Something went wrong! :(
ESLint: 8.28.0
TypeError: Cannot use 'in' operator to search for 'body' in undefined
Occurred while linting /home/myproject/pages/api/component/[id]/duplicate/index.test.ts:7
Rule: "vitest/no-conditional-tests"
at checkConditionalTest (/home/myproject/node_modules/.pnpm/[email protected]_hsf322ms6xhhd4b5ne6lb74y4a/node_modules/eslint-plugin-vitest/dist/index.cjs:257:20)
at CallExpression[callee.name=/^(it|test)$/] (/home/myproject/node_modules/.pnpm/[email protected]_hsf322ms6xhhd4b5ne6lb74y4a/node_modules/eslint-plugin-vitest/dist/index.cjs:281:9)
at ruleErrorHandler (/home/myproject/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /home/myproject/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/home/myproject/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/home/myproject/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/home/myproject/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/home/myproject/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/home/myproject/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
The text was updated successfully, but these errors were encountered:
The following code:
causes
eslint-plugin-vitest
to crash with:The text was updated successfully, but these errors were encountered: