eslint-plugin-jest-dom icon indicating copy to clipboard operation
eslint-plugin-jest-dom copied to clipboard

Results of weekly scheduled smoke test

Open github-actions[bot] opened this issue 1 year ago • 2 comments

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)

github-actions[bot] avatar Mar 03 '24 06:03 github-actions[bot]

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)

github-actions[bot] avatar Mar 10 '24 06:03 github-actions[bot]

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)

github-actions[bot] avatar Mar 17 '24 05:03 github-actions[bot]

:tada: This issue has been resolved in version 5.1.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] avatar Mar 21 '24 20:03 github-actions[bot]