Skip to content

Commit

Permalink
Updated games list test to be more useful (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorbascrumps authored and nicolodavis committed Jun 9, 2018
1 parent b4bb3cd commit b19b403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ describe('.createApiServer', () => {
});

test('should get 2 games', async () => {
expect(Object.keys(JSON.parse(response.text)).length).toEqual(2);
expect(JSON.parse(response.text)).toEqual(['foo', 'bar']);
});
});
});
Expand Down

0 comments on commit b19b403

Please sign in to comment.