-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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: bump most dated deps #8850
Conversation
784e2e9
to
48b020b
Compare
d1632fa
to
47d08ee
Compare
Getting closer. Only failure left are some weird snapshot failures. They all complain about EDIT: OH, they've trimmed a trailing newline... @pedrottimark could we improve that error? Do we run |
This comment has been minimized.
This comment has been minimized.
Codecov Report
@@ Coverage Diff @@
## next #8850 +/- ##
=========================================
- Coverage 63.8% 63.79% -0.02%
=========================================
Files 274 274
Lines 11576 11589 +13
Branches 2841 2842 +1
=========================================
+ Hits 7386 7393 +7
- Misses 3560 3566 +6
Partials 630 630
Continue to review full report at Codecov.
|
Yay for mac CI, I actually broke watch mode by upgrading fsevents :P I read https://github.com/fsevents/fsevents/releases/tag/v2.0.0, without thinking about the |
@SimenB Yes, your diagnosis is correct that custom serializer can contradict an original assumption that the value is enclosed in matching punctuation, like double quote marks for strings. After expected = (expected || '').trim();
actual = (actual || '').trim(); To make sure that I understand the situation, some snapshots of CLI output had a blank line but after bump, the received values did not? After you updated them, diff told you what was the problem? |
Correct
Yeah, I ran the test locally to try to figure out what was wrong, and the reporter told me to update the snapshot. So it's somewhat an issue with just the silent reporter not printing the snapshot thing (rickhanlonii/jest-silent-reporter#15), but I don't think I should be told that the values "have no visual differences" when they do. And yes, updating the snapshots and doing I don't know what the correct solution is. Maybe look for whitespace differences if strings are being compared? Not sure |
Oh, a candidate solution comes back to me! Instead of // Extra line breaks at the beginning and at the end of the snapshot are useful
// to make the content of the snapshot easier to read
const addExtraLineBreaks = (string: string): string =>
string.includes('\n') ? `\n${string}\n` : string; If a snapshot:
then |
Yeah, that sounds reasonable! |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Now that we've dropped node 6, we can upgrade a bunch of dependencies. None of these should be breaking changes for our consumers, which is why it's a pretty big one.
Only deps held back arejsdom
andmicromatch
, both of which I'll send separate PRs for.I've also held
source-map
back as it's sync only (mozilla/source-map#331)EDIT: Need to hold backansi-escapes
as well due to hoisting issuesTest plan
Green CI.
Should probably land #8411 first though