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

fix: image mock in jest setup #41957

Commits on Dec 15, 2023

  1. fix: image mock in jest setup

    resolveAssetSource should not return nothing by default as some librairies (ex: react native fast image) rely on it to compute the image source
    without this mock implementation, all sources disappear from images in test environnement
    see issue facebook#41907
    
     the input source - leaving it empty breaks
    Delphine Bugner committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    2d93741 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2023

  1. fix: (jestSetup) use the real resolveAssetSource in test

    Delphine Bugner committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    4670356 View commit details
    Browse the repository at this point in the history