-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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(gatby-script): Shim requestIdleCallback #35611
Conversation
10538ca
to
84ff088
Compare
ab5cef2
to
e55e787
Compare
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.
Few changes, please make sure the tests pass locally and in CI.
You can update the outdated load plugin snapshots with yarn jest /Users/<YOUR_USER>/Developer/gatsby/gatsby/packages/gatsby/src/bootstrap/load-plugins/__tests__ --updateSnapshot
so that unit tests pass and you can see these e2e tests pass in CI.
e2e-tests/development-runtime/cypress/integration/gatsby-script/shimmed-req-idle-callback.js
Outdated
Show resolved
Hide resolved
e2e-tests/development-runtime/cypress/integration/gatsby-script/shimmed-req-idle-callback.js
Outdated
Show resolved
Hide resolved
e2e-tests/development-runtime/cypress/integration/gatsby-script/shimmed-req-idle-callback.js
Outdated
Show resolved
Hide resolved
3582825
to
ba5591c
Compare
Snapshot updates are now on feat-script-component |
83fb9f3
to
f5d616a
Compare
Description
Shim requestIdleCallback, cancelIdleCallback
[sc-48843]