Skip to content

Commit

Permalink
add some debugging to see why count sometimes doesn't match
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoncalabrese committed Mar 15, 2017
1 parent fad0cd6 commit e391baa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/api.treatments.test.js
Expand Up @@ -112,6 +112,10 @@ describe('Treatment API', function ( ) {
var sorted = _.sortBy(list, function (treatment) {
return treatment.created_at;
});

if (sorted.length !== 3) {
console.info('unexpected result length, sorted treatments:', sorted);
}
sorted.length.should.equal(3);
sorted[0].glucose.should.equal(100);

Expand Down

0 comments on commit e391baa

Please sign in to comment.