Skip to content

Commit 70cd7b9

Browse files
Add custom helper to configure report
1 parent 1896056 commit 70cd7b9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

spec/helpers/console_reporter.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
var util = require('util');
2+
var options = {
3+
showColors: true,
4+
print: function() {
5+
process.stdout.write(util.format.apply(this, arguments));
6+
}
7+
};
8+
9+
jasmine.getEnv().addReporter(new jasmine.ConsoleReporter(options));

0 commit comments

Comments
 (0)