fixing the tests of interpolation

This commit is contained in:
miguel 2022-02-18 16:56:22 +00:00
parent a2a01ea29a
commit 52e7e7c129
1 changed files with 3 additions and 3 deletions

View File

@ -12,14 +12,14 @@ const run = async ({ step, start, end, duration, waitTime = 15 }) => {
t(async ({ eq }) => {
// testing duration time, forbid loops
const { length } = await run({ step: 5, start: 0, end: 4, duration: 28 })
return eq(length, 2)
const { length } = await run({ step: 5, start: 0, end: 4, duration: 50 })
return eq(length, 1)
})
t(async ({ eq }) => {
// testing duration time stamp
const { length } = await run({
step: 5,
step: 2,
start: 0,
end: 4,
duration: 10,