-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
chore: transform noisy files in e2e migration test #1146
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1146 +/- ##
=======================================
Coverage 94.27% 94.27%
=======================================
Files 97 97
Lines 5627 5627
Branches 455 455
=======================================
Hits 5305 5305
Misses 321 321
Partials 1 1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
test.each([...filesExpectedToBeChanged])("verify %s", async (file) => { | ||
const { stdout } = await execaCommand(`git diff HEAD -- ${file}`); | ||
expect(stdout.split("\n").slice(2).join("\n")).toMatchSnapshot(); | ||
// All Contributors seems to not be using Prettier to format files... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 I wonder if it's that this repo's prettier config has plugins that need to be installed!
🎉 This is included in version v1.50.2 🎉 The release is available on: Cheers! 📦🚀 |
PR Checklist
status: accepting prs
Overview
In the migration script, after running with
--mode migrate
but before running test assertions, modifies a couple of files on disk:.all-contributorsrc
: Formats withJSON.stringify(..., null, 2)
as it seems All Contributors isn't able to use Prettier for it.github/DEVELOPMENT.md
: Adds back in the## The Setup Scripts
heading, as it's not part of the default templateAlso wraps the
test
s indescribe
and standardizes naming just a bit. I'm very nitpicky.