Skip to content
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

Results of weekly scheduled smoke test #1223

Closed
github-actions bot opened this issue Aug 28, 2022 · 1 comment · Fixed by #1225
Closed

Results of weekly scheduled smoke test #1223

github-actions bot opened this issue Aug 28, 2022 · 1 comment · Fixed by #1225
Assignees
Labels

Comments

@github-actions
Copy link

Detected 3 ESLint reports and/or crashes.
Scanned 2317 repositories.

Rules:

  • jest/prefer-expect-assertions
Click to expand

Rule: jest/prefer-expect-assertions

  • Message: Could not find BlockStatement - please file a github issue at https://github.com/jest-community/eslint-plugin-jest Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/saiichihashimoto/lint-my-app/src/lint-my-app-staged.spec.js:23 Rule: "jest/prefer-expect-assertions"
  • Path: saiichihashimoto/lint-my-app/src/lint-my-app-staged.spec.js
  • Link
  21 | });
  22 |
> 23 | it('resolves', async () => expect(await staged()).toBe(true));
  24 |
  25 | it('rejects if staged fails', async () => {
  26 | 	lintStaged.mockImplementation(() => Promise.resolve(false));
Error: Could not find BlockStatement - please file a github issue at https://github.com/jest-community/eslint-plugin-jest
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/saiichihashimoto/lint-my-app/src/lint-my-app-staged.spec.js:23
Rule: "jest/prefer-expect-assertions"
    at isFirstStatement (/github/workspace/lib/rules/prefer-expect-assertions.js:27:9)
    at CallExpression (/github/workspace/lib/rules/prefer-expect-assertions.js:190:40)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114: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)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: jest/prefer-expect-assertions

  • Message: Could not find BlockStatement - please file a github issue at https://github.com/jest-community/eslint-plugin-jest Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/sinoui/ts-lib-scripts/e2e/jest-css-transform-demo/src/Button.spec.tsx:10 Rule: "jest/prefer-expect-assertions"
  • Path: sinoui/ts-lib-scripts/e2e/jest-css-transform-demo/src/Button.spec.tsx
  • Link
   8 | import Button from './Button';
   9 |
> 10 | it('验证button组件存在', () => expect(Button).toBeDefined());
  11 |
  12 | it('按钮标题', () => {
  13 |   const { getByTestId } = render(<Button data-testid="button">标题</Button>);
Error: Could not find BlockStatement - please file a github issue at https://github.com/jest-community/eslint-plugin-jest
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/sinoui/ts-lib-scripts/e2e/jest-css-transform-demo/src/Button.spec.tsx:10
Rule: "jest/prefer-expect-assertions"
    at isFirstStatement (/github/workspace/lib/rules/prefer-expect-assertions.js:27:9)
    at CallExpression (/github/workspace/lib/rules/prefer-expect-assertions.js:190:40)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114: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)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: jest/prefer-expect-assertions

  • Message: Could not find BlockStatement - please file a github issue at https://github.com/jest-community/eslint-plugin-jest Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/sinoui/ts-lib-scripts/e2e/jest-css-transform-demo/src/Draftjs.spec.tsx:5 Rule: "jest/prefer-expect-assertions"
  • Path: sinoui/ts-lib-scripts/e2e/jest-css-transform-demo/src/Draftjs.spec.tsx
  • Link
  3 | import 'draft-js/dist/Draft.css';
  4 |
> 5 | it('editor', () => expect(<Editor />).toBeDefined());
  6 |
Error: Could not find BlockStatement - please file a github issue at https://github.com/jest-community/eslint-plugin-jest
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/sinoui/ts-lib-scripts/e2e/jest-css-transform-demo/src/Draftjs.spec.tsx:5
Rule: "jest/prefer-expect-assertions"
    at isFirstStatement (/github/workspace/lib/rules/prefer-expect-assertions.js:27:9)
    at CallExpression (/github/workspace/lib/rules/prefer-expect-assertions.js:190:40)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114: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)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
@github-actions
Copy link
Author

🎉 This issue has been resolved in version 27.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
1 participant