danawoodman / react-fontawesome

A React Font Awesome component.
https://www.npmjs.com/package/react-fontawesome
MIT License
668 stars 72 forks source link

Got error when npm run test. #67

Closed kmvan closed 6 years ago

kmvan commented 6 years ago
 1) react-fontawesome
       "before all" hook:
     TypeError: require(...).env is not a function
      at Context.<anonymous> (node_modules\mocha-jsdom\index.js:52:22)

Anybody tried?

danawoodman commented 6 years ago

@kmvan you mean when checking out the git repo and running the tests? Or do you mean in your own test suite?

I'm not aware of any issue with the repository tests failing.

PS sorry for the super long delay in reply!!

danawoodman commented 6 years ago

Closing till I get more details on how to reproduce