Removes all the console.log calls

This commit is contained in:
Shannon
2013-12-12 14:09:03 +11:00
parent 38c1669e57
commit 74a691ac3a
4 changed files with 1 additions and 19 deletions

View File

@@ -20,12 +20,10 @@ describe('Assets service tests', function () {
var loaded = false;
runs( function(){
assetsService.loadJs("lib/umbraco/NamespaceManager.js").then(function(){
console.log( "done" );
expect(Umbraco.Sys).toNotBe(undefined);
});
});
runs(function(){
console.log( "asserting" );
expect(Umbraco.Sys).toNotBe(undefined);
});
});

View File

@@ -81,7 +81,6 @@ describe('angular event tests', function () {
$rootScope.$on("testEvent", function(e, args) {
$timeout(function () {
console.log("timeout #1");
args.val = "changed1";
args.resolve(args);
}, 1000);
@@ -89,7 +88,6 @@ describe('angular event tests', function () {
$rootScope.$on("testEvent", function (e, args) {
$timeout(function () {
console.log("timeout #2");
args.val = "changed2";
args.resolve(args);
}, 1000);
@@ -119,7 +117,6 @@ describe('angular event tests', function () {
_.each(promises, function(p) {
p.promise.then(function (args) {
index++;
console.log("YOU ARE HERE: " + args.val);
expect(args.val).toBe("changed" + index);
});
});

View File

@@ -26,7 +26,6 @@ describe('umbPhotoFolderHelper tests', function () {
var result = umbPhotoFolderHelper.buildRow(images, maxRowHeight, minDisplayHeight, maxRowWidth, idealImgPerRow, margin);
console.log(result.images.length);
expect(result.images.length).toBe(5);
@@ -49,7 +48,6 @@ describe('umbPhotoFolderHelper tests', function () {
var result = umbPhotoFolderHelper.buildRow(images, maxRowHeight, minDisplayHeight, maxRowWidth, idealImgPerRow, margin);
console.log(result.images.length);
expect(result.images.length).toBe(4);