Skip to content
Chau Nguyen edited this page May 14, 2017 · 6 revisions

As of May 10 3:40 AM, I have added a bunch of simple tests to test for regression (my code will be undergoing heavy refactoring soon).

Note that due to the fact that kindred-api retries on headers, you can initialize multiple kindred's in the tests and the tests will still work.

To run these tests (if you wish to contribute or confirm functionality before testing out the library) just change .env.example's placeholder to your actual key and rename it to .env.

Here's what the process looks like:

git clone https://github.com/ChauTNguyen/kindred-api.git
cd kindred-api
mv .env.example .env && echo "YOUR_KEY" >> .env // the shortcut
yarn && yarn test