Skip to content

Commit f75e62c

Browse files
author
Jan Kurella
committed
remove unused variables, more precise checks (JsHint)
1 parent 749fffa commit f75e62c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/performance.spec.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,11 @@
2727
return data;
2828
}).then(function (data) {
2929
time = Date.now() - start;
30-
result = data;
3130
});
3231
});
3332

3433
waitsFor(function () {
35-
return time != null;
34+
return time !== null;
3635
}, "Sequential should finish", 5000);
3736

3837
var start2 = Date.now();
@@ -41,12 +40,11 @@
4140
runs(function () {
4241
p2.map(slowSquare).then(function (data) {
4342
time2 = Date.now() - start2;
44-
result = data;
4543
});
4644
});
4745

4846
waitsFor(function () {
49-
return time2 != null;
47+
return time2 !== null;
5048
}, "Parallel should finish", 5000);
5149

5250
runs(function () {

0 commit comments

Comments
 (0)