Skip to content

Commit

Permalink
tests passing
Browse files Browse the repository at this point in the history
  • Loading branch information
Aodhgan committed Oct 6, 2021
1 parent 5691552 commit 09ec741
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/DrawCalculator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ describe('DrawCalculator', () => {
});
});

describe.only('calculate()', () => {
describe('calculate()', () => {
const debug = newDebug('pt:DrawCalculator.test.ts:calculate()');

context('with draw 1 set', () => {
Expand Down Expand Up @@ -1299,7 +1299,7 @@ describe('DrawCalculator', () => {
).to.revertedWith('DrawCalc/exceeds-max-user-picks');
});

it.only('should calculate and win nothing', async () => {
it('should calculate and win nothing', async () => {
const winningNumber = utils.solidityKeccak256(['address'], [wallet2.address]);
const userRandomNumber = utils.solidityKeccak256(
['bytes32', 'uint256'],
Expand Down Expand Up @@ -1346,8 +1346,8 @@ describe('DrawCalculator', () => {

expect(prizesAwardable[0][0]).to.equal(utils.parseEther('0'));
const prizeCounts = encoder.decode(['uint256[][]'], prizesAwardable[1])
console.log(prizeCounts[0][0])
assertEmptyArrayOfBigNumbers(prizeCounts[0][0])
// there will always be a prizeCount at matchCardinality index
assertEmptyArrayOfBigNumbers(prizeCounts[0][0].slice(prizeDistribution.matchCardinality.toNumber() + 1))
});
});
});
Expand Down

0 comments on commit 09ec741

Please sign in to comment.