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
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
35|constelement=getByText(`u/${comment.author}`)36|expect(element.className).toMatch('comment-author')>37|expect(element).toBeTruthy;38|});39|it('should have date element',()=>{40|constelement=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
33|it('should have edit button',()=>{34|constelement=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
22|constcommunityName=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
33|constcommunityName=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|constcommunitySubscribers=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
20|it('should render with the correct name,placeholder,value,className and type',async()=>{21|constinputElement=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
28|constelement=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|constelement=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
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
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
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
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
The text was updated successfully, but these errors were encountered:
Detected 10 ESLint reports and/or crashes.
Scanned 9538 repositories.
Rules:
prefer-in-document
Click to expand
Rule: prefer-in-document
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
kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/CommentsContainer/Comment/Comment.test.js
Rule: prefer-in-document
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
kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/CommentsContainer/CommentBar/CommentBar.test.js
Rule: prefer-in-document
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
kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/Community/CommunitiesContainer/CommunityPreview/CommunityPreview.test.js
Rule: prefer-in-document
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
kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/Community/CommunityDetails/CommunityDetails.test.js
Rule: prefer-in-document
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
kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/Input/Input.test.js
Rule: prefer-in-document
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
kristiyan-ASW-G-08/mern-reddit-clone/client/src/components/PostsContainer/Post/Post.test.js
Rule: prefer-in-document
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
skyverge/kodiak-ui/packages/autocomplete/src/__tests__/Autocomplete.spec.tsx
Rule: prefer-in-document
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
instacart/Snacks/src/components/Forms/__tests__/DateField.spec.js
Rule: prefer-in-document
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
instacart/Snacks/src/components/Forms/__tests__/MaskedTextField.spec.js
Rule: prefer-in-document
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
instacart/Snacks/src/components/Forms/__tests__/PhoneNumberField.spec.js
The text was updated successfully, but these errors were encountered: