Definitelytyped: Enzyme new wrappingComponent option missing in shallow options.

Created on 10 Jun 2019  路  2Comments  路  Source: DefinitelyTyped/DefinitelyTyped

  • [ ] I tried using the @types/enzyme package and had problems with adding wrappingComponent option.

Currently it is referencing https://github.com/airbnb/enzyme/blob/[email protected]/docs/api/shallow.md#arguments.

But at that moment, Enzyme introduce wrappingComponent option in ShallowRendererProps for provider component.
https://github.com/airbnb/enzyme/blob/master/docs/api/shallow.md#arguments

Most helpful comment

馃憤 This is also missing in the definitions for mount

All 2 comments

馃憤 This is also missing in the definitions for mount

Guys I create pull request for mount and shallow options #36466

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Zzzen picture Zzzen  路  3Comments

Loghorn picture Loghorn  路  3Comments

victor-guoyu picture victor-guoyu  路  3Comments

variousauthors picture variousauthors  路  3Comments

jamespero picture jamespero  路  3Comments