This patch brings Jest into the repo, adds coverage to timeSince, and provides the very beginning of a set of browser-based integration tests. The integration tests are skipped by default because they are too fragile, but can be run locally by changing describe.skip to describe.
I have no strong feelings on jest vs any other testing framework—this is just the one I've used the most. Happy to accept any alternatives!
This patch brings Jest into the repo, adds coverage to timeSince, and provides the very beginning of a set of browser-based integration tests. The integration tests are skipped by default because they are too fragile, but can be run locally by changing
describe.skip
todescribe
.I have no strong feelings on jest vs any other testing framework—this is just the one I've used the most. Happy to accept any alternatives!
Closes #21.