You want to test a component in react in isolation without wrapping it.
What feature of method React.createContext would be useful for testing if it is used to create a context object?
Options
- The use of the defaultValue argument
- The ability to pass undefined as a Provider value
- The ability to assign contextType property
- None of these