Closed barakplasma closed 5 years ago
Looks good. I was young and stupid when i did this originally and, now am a little older and less stupid.
Adding Jest is fine. I can either merge this as is, or let you redo it and merge later.
In the future, when you make a pull request, it's best to do from a branch on your fork and not master.
I plan on adding Jest in two weeks.
Closing in favor of #76
I added a very simple sanity test file to verify a few of the documented API methods. I would prefer to rewrite it using Jest as the test runner, but I didn't want to introduce any new dependencies. If you are open to adding Jest as a dev dependency, please let me know and it'll improve the tests dramatically.