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

[ECO-2386] Remove --verbose flag from pre-commit, update config to mitigate flaky tests #333

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

xbtmatt
Copy link
Collaborator

@xbtmatt xbtmatt commented Nov 7, 2024

Description

When pre-commit fails, there are thousands of lines of unnecessary logs.

  • Remove --verbose so that only failing pre-commit checks are shown in the output.
  • Update .eslintrc.js to ignore next.config.mjs and playwright.config.js
  • playwright.config.ts => playwright.config.js
  • jest.retryTimes(3) for the sleep test, since it's inherently flaky

Checklist

  • Did you update relevant documentation?
  • Did you add tests to cover new code or a fixed issue?
  • Did you update the changelog?
  • Did you check all checkboxes from the linked Linear task?

@xbtmatt xbtmatt requested review from alnoki and CRBl69 November 7, 2024 21:45
Copy link

vercel bot commented Nov 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
emojicoin-dot-fun ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 0:57am
emojicoin-dot-fun-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 0:57am

Update config to mitigate flaky tests

Update .eslintrc.js for the frontend
@xbtmatt xbtmatt merged commit 560f9e4 into main Nov 8, 2024
8 checks passed
@xbtmatt xbtmatt deleted the ECO-2386 branch November 8, 2024 01:01
xbtmatt added a commit that referenced this pull request Nov 8, 2024
xbtmatt added a commit that referenced this pull request Nov 8, 2024
xbtmatt added a commit that referenced this pull request Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants