Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 627eba2

Browse files
committed
upgrading jasmin-jstd-adapter to 1ade1ad7cad4caadb3a3 11-03-07
1 parent 73ee5fc commit 627eba2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/jasmine-jstd-adapter/JasmineAdapter.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
var describePath = [];
88
rootDescribes.collectMode();
99

10-
var jasmineTest = TestCase('Jasmine Adapter Tests');
10+
var jasmineTest = TestCase('Jasmine Adapter Tests', null, 'jasmine test case');
1111

1212
var jasminePlugin = {
1313
name:'jasmine',
@@ -45,10 +45,10 @@
4545
if (!resultItems[i].passed()) {
4646
state = resultItems[i].message.match(/AssertionError:/) ? 'error' : 'failed';
4747
messages.push({
48-
'name' : resultItems[i].matcherName,
49-
'message' : resultItems[i].toString(),
50-
'stack' : formatStack(resultItems[i].trace.stack)
51-
});
48+
message: resultItems[i].toString(),
49+
name: resultItems[i].trace.name,
50+
stack: formatStack(resultItems[i].trace.stack)
51+
});
5252
}
5353
}
5454
onTestDone(

0 commit comments

Comments
 (0)