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 749fffa commit f75e62cCopy full SHA for f75e62c
test/performance.spec.js
@@ -27,12 +27,11 @@
27
return data;
28
}).then(function (data) {
29
time = Date.now() - start;
30
- result = data;
31
});
32
33
34
waitsFor(function () {
35
- return time != null;
+ return time !== null;
36
}, "Sequential should finish", 5000);
37
38
var start2 = Date.now();
@@ -41,12 +40,11 @@
41
40
runs(function () {
42
p2.map(slowSquare).then(function (data) {
43
time2 = Date.now() - start2;
44
45
46
47
48
49
- return time2 != null;
+ return time2 !== null;
50
}, "Parallel should finish", 5000);
51
52
0 commit comments