PATH:
usr
/
local
/
lib
/
node_modules
/
knex-migrator
/
node_modules
/
node-loggly-bulk
/
test-as-mock
/* * common-test.js: Tests for Loggly `common` utility module * * (C) 2010 Charlie Robbins * MIT LICENSE * */ var path = require('path'), vows = require('vows'), assert = require('assert'), common = require('../lib/loggly/common'); vows.describe('node-loggly/common').addBatch({ "When using the common module": { "the clone() method": { topic: function () { this.obj = { name: 'common', deep: { first: 'first', second: 'second' } }; return common.clone(this.obj); }, "should return a deep clone of the object": function (clone) { assert.isFalse(this.obj.deep === clone.deep); } } } }).export(module);
[-] helpers.js
[edit]
[-] search-test.js
[edit]
[+]
..
[-] customer-test.js
[edit]
[-] config.json
[edit]
[-] log-test.js
[edit]
[-] common-test.js
[edit]