Adds testing for behavior that is broken in #26 when integration testing outside of a browser.
Restructured code to encapsulate by allowing testing without exposing a larger API.
Test Changes
Improved React integration tests
Unit tests
Added 0.x and 7x version of node to travis build target
Behavior Changes
New Behaviors
Validating moments checks if the object being validated is a moment through moment.isMoment
Shouldn't cause a behavior change.
Moved string sections to named variables to allow testing connection
Moved core logic to another file
Future Notes
In the future I want to look into using Chromium headless to do end-to-end testing.
Description
Adds testing for behavior that is broken in #26 when integration testing outside of a browser. Restructured code to encapsulate by allowing testing without exposing a larger API.
Test Changes
0.x
and7x
version of node to travis build targetBehavior Changes
New Behaviors
moment.isMoment
Shouldn't cause a behavior change.
Future Notes
In the future I want to look into using Chromium headless to do end-to-end testing.