1
0
mirror of /repos/Prototyper.git synced 2026-02-27 16:12:00 +01:00

refactored logging.. now logs only json to console

This commit is contained in:
Aiko Mastboom
2014-12-30 19:15:00 +01:00
parent 4882c0b8e2
commit 2076e471ac
10 changed files with 170 additions and 332 deletions

View File

@@ -3,7 +3,8 @@ var libpath = process.env.PROTOTYPER_COV ? '../lib-cov' : '../lib';
var helpers = require(libpath + '/helpers.js');
var markers = require(libpath + '/markers.js');
var chai = require('chai');
chai.Assertion.includeStack = true; // defaults to false
chai.config.includeStack = true; // defaults to false
chai.config.showDiff = false; // defaults to false
var expect = chai.expect;
var when = require('when');

View File

@@ -2,6 +2,7 @@
var libPath = process.env.PROTOTYPER_COV ? '../lib-cov' : '../lib';
var chai = require('chai');
chai.config.includeStack = true; // defaults to false
chai.config.showDiff = false; // defaults to false
var expect = chai.expect;
var mongoData = require(libPath + '/mongoData.js');