eslint-plugin-jest-dom
eslint-plugin-jest-dom copied to clipboard
Results of weekly scheduled smoke test
Detected 1 ESLint reports and/or crashes. Scanned 14249 repositories.
Rules:
jest-dom/prefer-to-have-style
Click to expand
Rule: jest-dom/prefer-to-have-style
- Message:
Cannot read properties of undefined (reading 'replace') Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Workday/canvas-kit/modules/styling/spec/cs.spec.tsx:696 Rule: "jest-dom/prefer-to-have-style" - Path:
Workday/canvas-kit/modules/styling/spec/cs.spec.tsx - Link
694 | });
695 |
> 696 | expect(myStencil({color: '--my-var'}).style).toHaveProperty(
697 | myStencil.vars.color,
698 | 'var(--my-var)'
699 | );
TypeError: Cannot read properties of undefined (reading 'replace')
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Workday/canvas-kit/modules/styling/spec/cs.spec.tsx:696
Rule: "jest-dom/prefer-to-have-style"
at camelCase (/github/workspace/dist/rules/prefer-to-have-style.js:15:30)
at Object.fix (/github/workspace/dist/rules/prefer-to-have-style.js:144:199)
at normalizeFixes (/github/workspace/node_modules/eslint/lib/linter/report-translator.js:194:28)
at /github/workspace/node_modules/eslint/lib/linter/report-translator.js:365:49
at Object.report (/github/workspace/node_modules/eslint/lib/linter/linter.js:1047:41)
at MemberExpression[property.name=style][parent.parent.property.name=toHaveProperty][parent.callee.name=expect] (/github/workspace/dist/rules/prefer-to-have-style.js:137:15)
at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1076:28)
at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
Detected 1 ESLint reports and/or crashes. Scanned 14249 repositories.
Rules:
jest-dom/prefer-to-have-style
Click to expand
Rule: jest-dom/prefer-to-have-style
- Message:
Cannot read properties of undefined (reading 'replace') Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Workday/canvas-kit/modules/styling/spec/cs.spec.tsx:698 Rule: "jest-dom/prefer-to-have-style" - Path:
Workday/canvas-kit/modules/styling/spec/cs.spec.tsx - Link
696 | });
697 |
> 698 | expect(myStencil({color: '--my-var'}).style).toHaveProperty(
699 | myStencil.vars.color,
700 | 'var(--my-var)'
701 | );
TypeError: Cannot read properties of undefined (reading 'replace')
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Workday/canvas-kit/modules/styling/spec/cs.spec.tsx:698
Rule: "jest-dom/prefer-to-have-style"
at camelCase (/github/workspace/dist/rules/prefer-to-have-style.js:15:30)
at Object.fix (/github/workspace/dist/rules/prefer-to-have-style.js:144:199)
at normalizeFixes (/github/workspace/node_modules/eslint/lib/linter/report-translator.js:194:28)
at /github/workspace/node_modules/eslint/lib/linter/report-translator.js:365:49
at Object.report (/github/workspace/node_modules/eslint/lib/linter/linter.js:1047:41)
at MemberExpression[property.name=style][parent.parent.property.name=toHaveProperty][parent.callee.name=expect] (/github/workspace/dist/rules/prefer-to-have-style.js:137:15)
at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1076:28)
at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
Detected 1 ESLint reports and/or crashes. Scanned 14249 repositories.
Rules:
jest-dom/prefer-to-have-style
Click to expand
Rule: jest-dom/prefer-to-have-style
- Message:
Cannot read properties of undefined (reading 'replace') Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Workday/canvas-kit/modules/styling/spec/cs.spec.tsx:698 Rule: "jest-dom/prefer-to-have-style" - Path:
Workday/canvas-kit/modules/styling/spec/cs.spec.tsx - Link
696 | });
697 |
> 698 | expect(myStencil({color: '--my-var'}).style).toHaveProperty(
699 | myStencil.vars.color,
700 | 'var(--my-var)'
701 | );
TypeError: Cannot read properties of undefined (reading 'replace')
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Workday/canvas-kit/modules/styling/spec/cs.spec.tsx:698
Rule: "jest-dom/prefer-to-have-style"
at camelCase (/github/workspace/dist/rules/prefer-to-have-style.js:15:30)
at Object.fix (/github/workspace/dist/rules/prefer-to-have-style.js:144:199)
at normalizeFixes (/github/workspace/node_modules/eslint/lib/linter/report-translator.js:194:28)
at /github/workspace/node_modules/eslint/lib/linter/report-translator.js:365:49
at Object.report (/github/workspace/node_modules/eslint/lib/linter/linter.js:1047:41)
at MemberExpression[property.name=style][parent.parent.property.name=toHaveProperty][parent.callee.name=expect] (/github/workspace/dist/rules/prefer-to-have-style.js:137:15)
at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1076:28)
at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
:tada: This issue has been resolved in version 5.1.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket: