Skip to content

Commit

Permalink
FLUID-5475: Improve jqUnit messages by making use of improved Infusio…
Browse files Browse the repository at this point in the history
…n support for fluid.log in node.js
  • Loading branch information
amb26 committed Jul 17, 2014
1 parent e9bf724 commit 2eda57d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/jqUnit-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ var path = require("path"),
var fluid = require("infusion");

fluid.loadTestingSupport();
fluid.setLogging(true);

var QUnit = fluid.registerNamespace("QUnit");
var jqUnit = fluid.registerNamespace("jqUnit");
Expand Down Expand Up @@ -88,7 +89,7 @@ QUnit.testStart(function (test) {
jqUnit.log = function () {
var args = fluid.makeArray(arguments);
args.unshift("jq: ");
console.log.apply(null, args);
fluid.log.apply(null, args);
};

jqUnit.onAllTestsDone = fluid.makeEventFirer();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Fluid Project",
"homepage": "http://www.fluidproject.org/",
"dependencies": {
"infusion": "git://github.com/fluid-project/infusion.git"
"infusion": "git://github.com/amb26/infusion.git#584ef9cdc6fc9f07092504496bfef8f96f6fafc6",
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 2eda57d

Please sign in to comment.