Skip to content

Commit

Permalink
testing error rate
Browse files Browse the repository at this point in the history
  • Loading branch information
cauemarcondes committed Sep 4, 2020
1 parent 2d73328 commit e9b9642
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ export default function ApiTest({ getService }: FtrProviderContext) {
});

it('has the correct calculation for average', async () => {
expect(errorRateResponse.average).to.be(0.25732600732600736);
expect(errorRateResponse.average).to.be(0.18894993894993897);
});

it('has the correct error rate', async () => {
expect(first(errorRateResponse.erroneousTransactionsRate)?.y).to.be(0.5);
});
});
});
Expand Down

0 comments on commit e9b9642

Please sign in to comment.