Skip to content

Commit e4c0d36

Browse files
committed
Merge pull request #451 from NativeScript/plamen5kov/jasmine_output
enable jasmin report in console
2 parents a2019ce + af4ab1e commit e4c0d36

2 files changed

Lines changed: 5 additions & 10 deletions

File tree

test-app/assets/app/Infrastructure/Jasmine/jasmine-reporters/junit_reporter.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@
4444
return path + filename;
4545
}
4646
function log(str) {
47-
__log(str);
48-
// var con = global.console || console;
49-
// if (con && con.log) {
50-
// con.log(str);
51-
// }
47+
var con = global.console || console;
48+
if (con && con.log) {
49+
con.log(str);
50+
}
5251
}
5352

5453

test-app/assets/app/Infrastructure/Jasmine/jasmine-reporters/terminal_reporter.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@
2020
return dupe;
2121
}
2222
function log(str) {
23-
__log(str);
24-
// var con = global.console || console;
25-
// if (con && con.log && str) {
26-
// con.log(str);
27-
// }
23+
android.util.Log.d("TNS.Jasmine", str);
2824
}
2925

3026

0 commit comments

Comments
 (0)