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

Downgrade Jest to 24 #18376

Merged
merged 1 commit into from
Mar 24, 2020
Merged

Downgrade Jest to 24 #18376

merged 1 commit into from
Mar 24, 2020

Commits on Mar 24, 2020

  1. Revert "Upgrade to jest 25 (facebook#17896)"

    This reverts commit cf00812.
    
    The changes to the test code relate to changes in JSDOM that come with Jest 25:
    
    * Several JSDOM workarounds are no longer needed.
    * Several tests made assertions to match incorrect JSDOM behavior (e.g. setAttribute calls) that JSDOM has now patched to match browsers.
      * https://codesandbox.io/s/resets-value-of-datetime-input-to-fix-bugs-in-ios-safari-1ppwh
    * JSDOM no longer triggers default actions when dispatching click events.
      * https://codesandbox.io/s/beautiful-cdn-ugn8f
    * JSDOM fixed (jsdom/jsdom#2700) a bug so that calling focus() on an already focused element does not dispatch a FocusEvent.
    * JSDOM now supports passive events.
    * JSDOM has improved support for custom CSS properties.
      * But requires jsdom/cssstyle#112 to land to support webkit prefixed properties.
    acdlite committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    a622dad View commit details
    Browse the repository at this point in the history