File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 1- ( function ( ) {
2- var checker = setInterval ( function ( ) {
3- if ( ! jasmine . running ) {
1+ ( function ( ) {
2+ var checker = setInterval ( function ( ) {
3+ if ( ! jasmine . running ) {
44 var results = { } ;
55 var specs = jsApiReporter . specs ( ) ;
6+ var s ;
67 results . runtime = jsApiReporter . executionTime ( ) ;
78 results . total = 0 ;
89 results . passed = 0 ;
910 results . failed = 0 ;
1011 results . tracebacks = [ ] ;
1112
12- for ( spec in specs ) {
13- var s = specs [ spec ]
14-
15- if ( s . status === 'passed' ) {
13+ for ( s in specs ) {
14+ if ( specs [ s ] . status === 'passed' ) {
1615 results . passed ++ ;
1716 } else {
1817 results . tracebacks . push ( s . description ) ;
2221
2322 results . total = results . passed + results . failed ;
2423 results . url = window . location . pathname ;
25- BrowserStack . post ( " /_report" , results , function ( ) { } ) ;
24+ BrowserStack . post ( ' /_report' , results , function ( ) { } ) ;
2625 }
2726 clearInterval ( checker ) ;
2827 } , 1000 ) ;
You can’t perform that action at this time.
0 commit comments