changes for browser-only visualization tests:
- add test/index.js with requires for all tests, including browser-only tests in viz/
- update testem config to test in browser only, bundle from test/index.js
- load jquery in test/html/test.html
- add stub of browser-only visualization test script for one-day view as proof-of-concept
more progress towards browser viz tests - getting the CSS loaded, etc.
minor tweaks; make tests pass
Merge branch 'master' into jebeck/tideline-viz-unit-tests
revise testing make target
Merge branch 'master' into jebeck/tideline-viz-unit-tests
make top-level IDs of one-day and two-week charts dependent on container ID to help ensure uniqueness
don't select from global d3.select when adding tooltips and annotations (incompatible with multiple chart on same page)
add moment as a dev dependency (for now); trying out using it in the testpage modules
add jquery-simulate as a dev dependency; using it to simulate native browser interactions (click, hover, etc.) in visualization unit tests
adjust tideline container, add jquery-simulate
factor out function for updating axes; don't use global d3.select to determine where to embed fill group
update one-day and two-week container IDs
move container for chart displays to top of page with a margin to make it easier to inspect at a glance
start on visualizing unit testing: cbg data, including tooltips
Merge branch 'master' into jebeck/tideline-viz-unit-tests
done with one-day unit testing through carbs, minus interaction of carbs and bolus tooltips
boluses can have recommended exceeding value, so must determine scale based on both
'test page' data generators, all but basals
Merge branch 'master' into jebeck/tideline-viz-unit-tests