-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
feat(build): uplift Jest
to v29
#29118
Conversation
Signed-off-by: hainenber <[email protected]>
Signed-off-by: hainenber <[email protected]>
Signed-off-by: hainenber <[email protected]>
Signed-off-by: hainenber <[email protected]>
Signed-off-by: hainenber <[email protected]>
Signed-off-by: hainenber <[email protected]>
Signed-off-by: hainenber <[email protected]>
…r` changes Signed-off-by: hainenber <[email protected]>
Signed-off-by: hainenber <[email protected]>
…ent envs Signed-off-by: hainenber <[email protected]>
@@ -26,7 +26,7 @@ import { | |||
|
|||
describe("guest token refresh", () => { | |||
beforeAll(() => { | |||
jest.useFakeTimers("modern"); // "modern" allows us to fake the system time | |||
jest.useFakeTimers(); // "modern" allows us to fake the system time |
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.
might as well remove the comment too?
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 assume that was was "modern" is now just... "normal"
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.
Comment removed :D
Signed-off-by: hainenber <[email protected]>
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.
LGTM - thanks for doing this!
Signed-off-by: hainenber <[email protected]>
Signed-off-by: hainenber <[email protected]>
hi folks, is this merge-able? I've been keeping the PR up-to-date with latest changes from |
superset-frontend/src/pages/SavedQueryList/SavedQueryList.test.jsx
Outdated
Show resolved
Hide resolved
….jsx Co-authored-by: JUST.in DO IT <[email protected]>
Signed-off-by: hainenber <[email protected]>
…t test" This reverts commit a325d58.
Never mind, I just saw you had already seen that PR. Hoping to see this merged soon! |
@villebro I only discovered your PR after finishing my draft :D A bit like calculus story of Newton and Leibniz 😄 Thanks for the blessing. I'll consult your PR if meeting any rough corner! |
Signed-off-by: hainenber <[email protected]>
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.
Thanks for all updates! LGTM
Looks like we have to extend |
Sounds good to me |
Signed-off-by: hainenber <[email protected]>
…esources affecting test results Signed-off-by: hainenber <[email protected]>
Aww shucks, running Jest with all workers in CI isn't safe as well so I decide to play safe and to pin the worker to be running at 50% of total core, same as local. |
CI is now passed :D |
Haha, that made my day 😆
Just really happy to see jest finally being bumped! ❤️ |
Signed-off-by: hainenber <[email protected]> Co-authored-by: Maxime Beauchemin <[email protected]> Co-authored-by: JUST.in DO IT <[email protected]>
feat(build): uplift Jest to v29
SUMMARY
This PR uplifted Jest in all sub-packages to latest version atm, v29. 99% of changes are within test files and no functionality has been modified.
There's one change for null safety here. I decide to drag it into this PR as v27 uplift failed to it
Acceptance threshold is CI checks all green
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A
TESTING INSTRUCTIONS
All CI steps are green
ADDITIONAL INFORMATION