Comments (1)
Detected 2 ESLint reports and/or crashes.
Scanned 6999 repositories.
Rules:
vitest/prefer-lowercase-title
Click to expand
Rule: vitest/prefer-lowercase-title
- Message:
Cannot read property 'type' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/fakeNetflix/facebook-repo-jest/e2e/test-todo/__tests__/todoNoArgs.test.js:8 Rule: "vitest/prefer-lowercase-title"
- Path:
fakeNetflix/facebook-repo-jest/e2e/test-todo/__tests__/todoNoArgs.test.js
- Link
6 | */
7 |
> 8 | it.todo();
9 |
TypeError: Cannot read property 'type' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/fakeNetflix/facebook-repo-jest/e2e/test-todo/__tests__/todoNoArgs.test.js:8
Rule: "vitest/prefer-lowercase-title"
at getStringValue (/github/workspace/dist/index.cjs:48:39)
at CallExpression (/github/workspace/dist/index.cjs:476:29)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1118:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
Rule: vitest/prefer-lowercase-title
- Message:
Cannot read property 'type' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/fakeNetflix/facebook-repo-jest/packages/jest-jasmine2/src/__tests__/todoError.test.ts:13 Rule: "vitest/prefer-lowercase-title"
- Path:
fakeNetflix/facebook-repo-jest/packages/jest-jasmine2/src/__tests__/todoError.test.ts
- Link
11 | expect(() => {
12 | // @ts-ignore
> 13 | it.todo();
14 | }).toThrowError('Todo must be called with only a description.');
15 | });
16 | it('it throws error when given more than one argument', () => {
TypeError: Cannot read property 'type' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/fakeNetflix/facebook-repo-jest/packages/jest-jasmine2/src/__tests__/todoError.test.ts:13
Rule: "vitest/prefer-lowercase-title"
at getStringValue (/github/workspace/dist/index.cjs:48:39)
at CallExpression (/github/workspace/dist/index.cjs:476:29)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1118:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
from eslint-plugin-vitest.
Related Issues (20)
- Linting error when using `test.extend` HOT 6
- Conditional false positives? HOT 4
- Mark vitest as an optional peer dependency with peerDependenciesMeta HOT 1
- Favor `toHaveBeenCalledExactlyOnceWith` HOT 2
- New rule: no-import-test-from-test HOT 4
- "Cannot read properties of undefined (reading 'testTitles')", with vitest/no-identical-title and using fdescribe HOT 1
- [Feature Request]: Add rule when using `.concurrent` and snapshots HOT 1
- [BUG](vitest/no-done-callback): reports when using
- implement `prefer-expect-assertions`
- `prefer-expect-assertions` doesn’t work with test context’s `expect`
- Remove `prefer-to-be` from Recommended Configuration HOT 2
- Remove `prefer-called-exactly-once-with` rule HOT 1
- `valid-describe-callback` - false-positive for `describe.todo(...)`
- `expect-expect` - doesn't make much sense for skipped tests HOT 3
- expect-expect doesn't factor in assert HOT 3
- Add rule `prefer-repeats` HOT 1
- `vitest/no-conditional-tests` false positive HOT 1
- some rules missing in readme HOT 2
- vitest/expect-expect shouldn't require assertions for bench HOT 1
- Feature request: `consistent-test-file-path` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint-plugin-vitest.