enzymejs / chai-enzyme

Chai.js assertions and convenience functions for testing React Components with enzyme
MIT License
787 stars 72 forks source link

Flow types #226

Closed gugu closed 4 years ago

gugu commented 5 years ago

Unfortunately, I don't have time to do this by myself, but it will be nice to have flow type definitions for this module

Currently, flow raises an error because chai does not have additional methods (instead of the default behavior of ignoring module)

ljharb commented 4 years ago

https://www.npmjs.com/package/@types/chai-enzyme exists; flow could be added here: https://github.com/flow-typed/flow-typed/tree/87f3b2251f175a68c0ea9ec47ef489eabaa44e6c/definitions/npm