Permalink
Browse files

Removed console.log() calls from tests

  • Loading branch information...
1 parent b82669b commit 5fdf2b8151d7cedcd0c09e1b30bfa44a0e436012 @ehedenst ehedenst committed Aug 6, 2011
Showing with 2 additions and 5 deletions.
  1. +2 −3 test/helpers.js
  2. +0 −2 test/log-test.js
View
@@ -5,7 +5,7 @@
* MIT LICENSE
*
*/
-
+
var fs = require('fs'),
util = require('util'),
path = require('path'),
@@ -19,9 +19,8 @@ helpers.loadConfig = function () {
try {
var configFile = path.join(__dirname, 'data', 'test-config.json'),
stats = fs.statSync(configFile)
- console.log(configFile);
config = JSON.parse(fs.readFileSync(configFile).toString());
- if (config.subdomain === 'test-subdomain'
+ if (config.subdomain === 'test-subdomain'
|| config.auth.username === 'test-username'
|| config.auth.password === 'test-password') {
util.puts('Config file test-config.json must be updated with valid data before running tests');
View
@@ -15,8 +15,6 @@ var config = helpers.loadConfig(),
loggly = require('../lib/loggly').createClient({ subdomain: config.subdomain }),
logglyJSON = require('../lib/loggly').createClient({ subdomain: config.subdomain, json: true });
-console.log(logglyJSON);
-
vows.describe('node-loggly/inputs (no auth)').addBatch({
"When using the node-loggly client without authentication": {
"the log() method to a 'text' input": {

0 comments on commit 5fdf2b8

Please sign in to comment.