diff --git a/test/SportsBook.test.js b/test/SportsBook.test.js index b4d4424..d8bff8f 100644 --- a/test/SportsBook.test.js +++ b/test/SportsBook.test.js @@ -117,8 +117,10 @@ contract('SportsBook', function ([ }); describe('reports the correct scores', function () { - it('calling scores() should return \'[10,13]?\'', async function () { - (await this.sportsBook.scores()).should.be.equal(new Array(10,13)); + it('calling scores() should return \'{10,13} BN\'', async function () { + let { SF_score, KC_score } = await this.sportsBook.scores(); + SF_score.should.be.a.bignumber.that.equals(new BN('10', 10)); + KC_score.should.be.a.bignumber.that.equals(new BN('13', 10)); }); });