Skip to content

Commit

Permalink
Merge pull request #973 from 01-edu/issue-from-js-piscine-01-651
Browse files Browse the repository at this point in the history
fixing the tests of interpolation
  • Loading branch information
MSilva95 authored Feb 18, 2022
2 parents a2a01ea + 52e7e7c commit 0949c5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/tests/interpolation_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0949c5c

Please sign in to comment.