Skip to content

Commit 0852bae

Browse files
authored
chore(ci): tests fix + ci configuration (#33)
1 parent f23957a commit 0852bae

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/cli.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ test('throttles CPU', async (t) => {
2323
const woutT = (await execa(binPath, [fixturePath])).stdout
2424
const withT = (await execa(binPath, [fixturePath, '--cpuThrottle=4'])).stdout
2525

26-
// difference should be more then 2 times
2726
t.assert(
28-
getOpsSec(woutT) - getOpsSec(withT) > getOpsSec(woutT) / 2,
27+
getOpsSec(withT) < getOpsSec(woutT),
2928
'The difference between throttled and not throttled execution is less then normal'
3029
)
3130
})

0 commit comments

Comments
 (0)