We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4defe19 commit 09fdd03Copy full SHA for 09fdd03
test/algorithm.js
@@ -85,10 +85,9 @@ describe('Algorithm', function(){
85
Scrollissimo.knock(scrollTop);
86
}else{
87
clearInterval(timer);
88
- testResult.should.containEql(data.result[0]);
89
testResult.forEach(function(resultValue, i){
90
- if(i > 0 && i < (testResult.length - 1)){
91
- (resultValue - testResult[i - 1]).should.be.below(data.maxSpeed + 1, 'Check if progress offset is below max speed');
+ if(i > 1 && i < (testResult.length - 1)){
+ (resultValue - testResult[i - 1]).should.be.below(data.maxSpeed + 1);
92
93
should.type('number');
94
}
0 commit comments