Skip to content

Commit

Permalink
Chore: increase allowedPerformanceLossesMS. fixes #64
Browse files Browse the repository at this point in the history
  • Loading branch information
pustovitDmytro committed Jan 31, 2022
1 parent 7674a5e commit 3ef2d51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/performance/classes.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class PerformanceTester {
}

const defaultPauseTime = 10;
const allowedPerformanceLossesMS = 10;
const allowedPerformanceLossesMS = 15;

const seeds = {};

Expand Down Expand Up @@ -73,5 +73,5 @@ test('class-logger errorsOnly', async function () {

const result = await bench(() => runner.timer(5, seeds.largeArray));

assert.isAtMost(result, seeds.default + 4);
assert.isAtMost(result, seeds.default + allowedPerformanceLossesMS);
});

0 comments on commit 3ef2d51

Please sign in to comment.