node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป



Test framework for reactFormula and related components. Enables reactFormula to not carry heavyweight dependencies.

Build Status codecov



Given the number of issues that occur when React and other heavy dependencies get bundled with a library component, reactFormula does not include any of these dependencies. Instead, the consumer provides there version of React, connect, ReactVirtualized, etc. to reactFormula and reactFormula returns its components. This limits the ability to test reactFormula from within its own package. To accomodate, this library acts as the consuming app and tests reactFormula exactly as it would be used in a consumer environment. This means 0 chance of accidentally including 2 copies of React in the DOM or any library code for that matter.

How to use

git clone cd reactFormula npm i cd ..

git clone cd react-formula-test npm i npm link ../reactFormula npm test