Skip to content

Results of weekly scheduled smoke test #249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
github-actions bot opened this issue Jan 2, 2022 · 1 comment · Fixed by #250
Closed

Results of weekly scheduled smoke test #249

github-actions bot opened this issue Jan 2, 2022 · 1 comment · Fixed by #250
Labels

Comments

@github-actions
Copy link

github-actions bot commented Jan 2, 2022

Detected 10 ESLint reports and/or crashes.
Scanned 9538 repositories.

Rules:

  • prefer-in-document
Click to expand

Rule: prefer-in-document

  • Message: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/CommentsContainer/Comment/Comment.test.js:37
  • Path: kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/CommentsContainer/Comment/Comment.test.js
  • Link
  35 |         const element =  getByText(`u/${comment.author}`)
  36 |         expect(element.className).toMatch('comment-author')
> 37 |         expect(element).toBeTruthy;
  38 |       });
  39 |       it('should have date element',  () => {
  40 |         const element =  getByText(humanReadableCreationDate)
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/CommentsContainer/Comment/Comment.test.js:37
    at Function.from (<anonymous>)
    at Object.fix (/github/workspace/dist/rules/prefer-in-document.js:105:40)
    at normalizeFixes (/github/workspace/node_modules/eslint/lib/linter/report-translator.js:193:28)
    at /github/workspace/node_modules/eslint/lib/linter/report-translator.js:364:49
    at Object.report (/github/workspace/node_modules/eslint/lib/linter/linter.js:926:41)
    at check (/github/workspace/dist/rules/prefer-in-document.js:97:15)
    at MemberExpression[object.callee.name=expect][property.name=/^(toHaveLength|toBeDefined|toBeNull|toBe|toEqual|toBeTruthy|toBeFalsy)$/][object.arguments.0.type=Identifier] (/github/workspace/dist/rules/prefer-in-document.js:171:7)
    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)

Rule: prefer-in-document

  • Message: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/CommentsContainer/CommentBar/CommentBar.test.js:35
  • Path: kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/CommentsContainer/CommentBar/CommentBar.test.js
  • Link
  33 |       it('should have edit button',  () => {
  34 |         const element =  getByTestId(`edit-button-${comment._id}`)
> 35 |         expect(element).toBeTruthy;
  36 |         fireEvent.click(element)
  37 |         expect(toggle).toHaveBeenCalled()
  38 |         expect(setEditComment).toHaveBeenCalled()
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/CommentsContainer/CommentBar/CommentBar.test.js:35
    at Function.from (<anonymous>)
    at Object.fix (/github/workspace/dist/rules/prefer-in-document.js:105:40)
    at normalizeFixes (/github/workspace/node_modules/eslint/lib/linter/report-translator.js:193:28)
    at /github/workspace/node_modules/eslint/lib/linter/report-translator.js:364:49
    at Object.report (/github/workspace/node_modules/eslint/lib/linter/linter.js:926:41)
    at check (/github/workspace/dist/rules/prefer-in-document.js:97:15)
    at MemberExpression[object.callee.name=expect][property.name=/^(toHaveLength|toBeDefined|toBeNull|toBe|toEqual|toBeTruthy|toBeFalsy)$/][object.arguments.0.type=Identifier] (/github/workspace/dist/rules/prefer-in-document.js:171:7)
    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)

Rule: prefer-in-document

  • Message: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/Community/CommunitiesContainer/CommunityPreview/CommunityPreview.test.js:24
  • Path: kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/Community/CommunitiesContainer/CommunityPreview/CommunityPreview.test.js
  • Link
  22 |         const communityName =  getByText(`c/${community.name}`)
  23 |         expect(communityName.className).toMatch('community-preview-body-name')
> 24 |         expect(communityName).toBeTruthy;
  25 |       });
  26 |
  27 |       it('should have element image with test id "community-logo"', async () => {
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/Community/CommunitiesContainer/CommunityPreview/CommunityPreview.test.js:24
    at Function.from (<anonymous>)
    at Object.fix (/github/workspace/dist/rules/prefer-in-document.js:105:40)
    at normalizeFixes (/github/workspace/node_modules/eslint/lib/linter/report-translator.js:193:28)
    at /github/workspace/node_modules/eslint/lib/linter/report-translator.js:364:49
    at Object.report (/github/workspace/node_modules/eslint/lib/linter/linter.js:926:41)
    at check (/github/workspace/dist/rules/prefer-in-document.js:97:15)
    at MemberExpression[object.callee.name=expect][property.name=/^(toHaveLength|toBeDefined|toBeNull|toBe|toEqual|toBeTruthy|toBeFalsy)$/][object.arguments.0.type=Identifier] (/github/workspace/dist/rules/prefer-in-document.js:171:7)
    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)

Rule: prefer-in-document

  • Message: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/Community/CommunityDetails/CommunityDetails.test.js:35
  • Path: kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/Community/CommunityDetails/CommunityDetails.test.js
  • Link
  33 |         const communityName =  getByText(`${community.name}`)
  34 |         expect(communityName.className).toMatch('community-name')
> 35 |         expect(communityName).toBeTruthy;
  36 |       });
  37 |       it('should have element with "Subscribers community.subscribers" text', async () => {
  38 |         const communitySubscribers =  getByText(`Subscribers ${community.subscribers}`)
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/Community/CommunityDetails/CommunityDetails.test.js:35
    at Function.from (<anonymous>)
    at Object.fix (/github/workspace/dist/rules/prefer-in-document.js:105:40)
    at normalizeFixes (/github/workspace/node_modules/eslint/lib/linter/report-translator.js:193:28)
    at /github/workspace/node_modules/eslint/lib/linter/report-translator.js:364:49
    at Object.report (/github/workspace/node_modules/eslint/lib/linter/linter.js:926:41)
    at check (/github/workspace/dist/rules/prefer-in-document.js:97:15)
    at MemberExpression[object.callee.name=expect][property.name=/^(toHaveLength|toBeDefined|toBeNull|toBe|toEqual|toBeTruthy|toBeFalsy)$/][object.arguments.0.type=Identifier] (/github/workspace/dist/rules/prefer-in-document.js:171:7)
    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)

Rule: prefer-in-document

  • Message: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/Input/Input.test.js:22
  • Path: kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/Input/Input.test.js
  • Link
  20 |     it('should render with the correct name,placeholder,value,className and type', async () => {
  21 |         const inputElement =  getByPlaceholderText(placeholder)
> 22 |         expect(inputElement).toBeTruthy;
  23 |         expect(inputElement.value).toEqual(value);
  24 |         expect(inputElement.className).toEqual('input');
  25 |         expect(inputElement.type).toEqual(type);
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/Input/Input.test.js:22
    at Function.from (<anonymous>)
    at Object.fix (/github/workspace/dist/rules/prefer-in-document.js:105:40)
    at normalizeFixes (/github/workspace/node_modules/eslint/lib/linter/report-translator.js:193:28)
    at /github/workspace/node_modules/eslint/lib/linter/report-translator.js:364:49
    at Object.report (/github/workspace/node_modules/eslint/lib/linter/linter.js:926:41)
    at check (/github/workspace/dist/rules/prefer-in-document.js:97:15)
    at MemberExpression[object.callee.name=expect][property.name=/^(toHaveLength|toBeDefined|toBeNull|toBe|toEqual|toBeTruthy|toBeFalsy)$/][object.arguments.0.type=Identifier] (/github/workspace/dist/rules/prefer-in-document.js:171:7)
    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)

Rule: prefer-in-document

  • Message: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/PostsContainer/Post/Post.test.js:30
  • Path: kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/PostsContainer/Post/Post.test.js
  • Link
  28 |         const element =  getByText(`c/${post.communityName}`)
  29 |         expect(element.className).toMatch('post-community')
> 30 |         expect(element).toBeTruthy;
  31 |       });
  32 |       it('should have element with u/post.author text', async () => {
  33 |         const element =  getByText(`u/${post.author}`)
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/PostsContainer/Post/Post.test.js:30
    at Function.from (<anonymous>)
    at Object.fix (/github/workspace/dist/rules/prefer-in-document.js:105:40)
    at normalizeFixes (/github/workspace/node_modules/eslint/lib/linter/report-translator.js:193:28)
    at /github/workspace/node_modules/eslint/lib/linter/report-translator.js:364:49
    at Object.report (/github/workspace/node_modules/eslint/lib/linter/linter.js:926:41)
    at check (/github/workspace/dist/rules/prefer-in-document.js:97:15)
    at MemberExpression[object.callee.name=expect][property.name=/^(toHaveLength|toBeDefined|toBeNull|toBe|toEqual|toBeTruthy|toBeFalsy)$/][object.arguments.0.type=Identifier] (/github/workspace/dist/rules/prefer-in-document.js:171:7)
    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)

Rule: prefer-in-document

  • Message: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/skyverge/kodiak-ui/packages/autocomplete/src/__tests__/Autocomplete.spec.tsx:31
  • Path: skyverge/kodiak-ui/packages/autocomplete/src/__tests__/Autocomplete.spec.tsx
  • Link
  29 |     const option1 = getByText('Option 1')
  30 |
> 31 |     expect(option1).toBeDefined
  32 |     expect(getByText('Option 2')).toBeDefined
  33 |
  34 |     fireEvent.click(option1)
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/skyverge/kodiak-ui/packages/autocomplete/src/__tests__/Autocomplete.spec.tsx:31
    at Function.from (<anonymous>)
    at Object.fix (/github/workspace/dist/rules/prefer-in-document.js:105:40)
    at normalizeFixes (/github/workspace/node_modules/eslint/lib/linter/report-translator.js:193:28)
    at /github/workspace/node_modules/eslint/lib/linter/report-translator.js:364:49
    at Object.report (/github/workspace/node_modules/eslint/lib/linter/linter.js:926:41)
    at check (/github/workspace/dist/rules/prefer-in-document.js:97:15)
    at MemberExpression[object.callee.name=expect][property.name=/^(toHaveLength|toBeDefined|toBeNull|toBe|toEqual|toBeTruthy|toBeFalsy)$/][object.arguments.0.type=Identifier] (/github/workspace/dist/rules/prefer-in-document.js:171:7)
    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)

Rule: prefer-in-document

  • Message: Cannot read property 'length' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/instacart/Snacks/src/components/Forms/__tests__/DateField.spec.js:22
  • Path: instacart/Snacks/src/components/Forms/__tests__/DateField.spec.js
  • Link
  20 |   )
  21 |
> 22 |   expect(mounted).toBe.truthy
  23 | })
  24 |
  25 | it('renders correctly', () => {
TypeError: Cannot read property 'length' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/instacart/Snacks/src/components/Forms/__tests__/DateField.spec.js:22
    at check (/github/workspace/dist/rules/prefer-in-document.js:89:29)
    at MemberExpression[object.callee.name=expect][property.name=/^(toHaveLength|toBeDefined|toBeNull|toBe|toEqual|toBeTruthy|toBeFalsy)$/][object.arguments.0.type=Identifier] (/github/workspace/dist/rules/prefer-in-document.js:171:7)
    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)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23)
    at /github/workspace/node_modules/eslint/lib/linter/linter.js:960:32

Rule: prefer-in-document

  • Message: Cannot read property 'length' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/instacart/Snacks/src/components/Forms/__tests__/MaskedTextField.spec.js:31
  • Path: instacart/Snacks/src/components/Forms/__tests__/MaskedTextField.spec.js
  • Link
  29 |   )
  30 |
> 31 |   expect(mounted).toBe.truthy
  32 | })
  33 |
  34 | it('renders correctly', () => {
TypeError: Cannot read property 'length' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/instacart/Snacks/src/components/Forms/__tests__/MaskedTextField.spec.js:31
    at check (/github/workspace/dist/rules/prefer-in-document.js:89:29)
    at MemberExpression[object.callee.name=expect][property.name=/^(toHaveLength|toBeDefined|toBeNull|toBe|toEqual|toBeTruthy|toBeFalsy)$/][object.arguments.0.type=Identifier] (/github/workspace/dist/rules/prefer-in-document.js:171:7)
    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)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23)
    at /github/workspace/node_modules/eslint/lib/linter/linter.js:960:32

Rule: prefer-in-document

  • Message: Cannot read property 'length' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/instacart/Snacks/src/components/Forms/__tests__/PhoneNumberField.spec.js:22
  • Path: instacart/Snacks/src/components/Forms/__tests__/PhoneNumberField.spec.js
  • Link
  20 |   )
  21 |
> 22 |   expect(mounted).toBe.truthy
  23 | })
  24 |
  25 | it('renders correctly', () => {
TypeError: Cannot read property 'length' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/instacart/Snacks/src/components/Forms/__tests__/PhoneNumberField.spec.js:22
    at check (/github/workspace/dist/rules/prefer-in-document.js:89:29)
    at MemberExpression[object.callee.name=expect][property.name=/^(toHaveLength|toBeDefined|toBeNull|toBe|toEqual|toBeTruthy|toBeFalsy)$/][object.arguments.0.type=Identifier] (/github/workspace/dist/rules/prefer-in-document.js:171:7)
    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)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23)
    at /github/workspace/node_modules/eslint/lib/linter/linter.js:960:32
@github-actions
Copy link
Author

github-actions bot commented Jan 2, 2022

🎉 This issue has been resolved in version 4.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
0 participants