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

Add ability to dive() and shallow-render-as-root Consumers and Providers #1966

Merged
merged 3 commits into from Apr 4, 2019

Commits on Jan 22, 2019

  1. [enzyme-adapter-react-{16,16.3}] [new] support shallow rendering `cre…

    …ateContext()` providers and consumers
    
     - add `isContextConsumer`
     - add `getProviderFromConsumer`
    minznerjosh authored and ljharb committed Jan 22, 2019
    Copy the full SHA
    67e12eb View commit details
    Browse the repository at this point in the history
  2. [new] shallow: Support rendering and dive()ing createContext()

    …providers and consumers
    minznerjosh authored and ljharb committed Jan 22, 2019
    Copy the full SHA
    7e12b15 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2019

  1. [Tests] Add mount tests for rendering createContext() Consumer/…

    …`Provider` as root
    minznerjosh authored and ljharb committed Apr 3, 2019
    Copy the full SHA
    7360912 View commit details
    Browse the repository at this point in the history