Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

change util.print to console.log

  • Loading branch information...
commit f717975b4910a5e623b7547f3ee2669867c63bb5 1 parent d82be42
@nrstott nrstott authored
View
4 lib/jasmine-node/cli.js
@@ -197,7 +197,7 @@ function onExit() {
}
var onComplete = function(runner, log) {
- util.print('\n');
+ console.log('\n');
if (runner.results().failedCount == 0) {
exitCode = 0;
} else {
@@ -241,7 +241,7 @@ jasmine.executeSpecsInFolder(options);
function help(){
- util.print([
+ console.log([
'USAGE: jasmine-node [--color|--noColor] [--verbose] [--coffee] directory'
, ''
, 'Options:'
View
4 lib/jasmine-node/index.js
@@ -117,12 +117,12 @@ jasmine.executeSpecsInFolder = function(options){
if(teamcity){
jasmineEnv.addReporter(new jasmine.TeamcityReporter());
} else if(isVerbose) {
- jasmineEnv.addReporter(new jasmine.TerminalVerboseReporter({ print: util.print,
+ jasmineEnv.addReporter(new jasmine.TerminalVerboseReporter({ print: console.log,
color: showColors,
onComplete: done,
stackFilter: removeJasmineFrames}));
} else {
- jasmineEnv.addReporter(new jasmine.TerminalReporter({print: util.print,
+ jasmineEnv.addReporter(new jasmine.TerminalReporter({print: console.log,
color: showColors,
includeStackTrace: includeStackTrace,
onComplete: done,
View
2  lib/jasmine-node/reporter.js
@@ -17,7 +17,7 @@
jasmineNode.TerminalReporter = function(config) {
- this.print_ = config.print || util.print;
+ this.print_ = config.print || console.log;
this.color_ = config.color ? this.ANSIColors : this.NoColors;
this.started_ = false;
View
2  spec/helper_spec.js
@@ -4,4 +4,4 @@ describe("helper", function() {
expect(typeof(expectation.toHaveProperty)).toBe('function');
});
-});
+});

0 comments on commit f717975

Please sign in to comment.
Something went wrong with that request. Please try again.