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 2ab5596 commit 9b23f16Copy full SHA for 9b23f16
lib/_patch/jasmine2-plugin.js
@@ -3,18 +3,17 @@
3
if (!jasmine.running) {
4
var results = {};
5
var specs = jsApiReporter.specs();
6
- var s;
7
results.runtime = jsApiReporter.executionTime();
8
results.total = 0;
9
results.passed = 0;
10
results.failed = 0;
11
results.tracebacks = [];
12
13
- for (s in specs) {
14
- if (specs[s].status === 'passed') {
+ for (var spec in specs) {
+ if (specs[spec].status === 'passed') {
15
results.passed++;
16
} else {
17
- results.tracebacks.push(s.description);
+ results.tracebacks.push(specs[spec].description);
18
results.failed = true;
19
}
20
0 commit comments