File manager - Edit - /usr/local/lib/node_modules/knex-migrator/node_modules/node-loggly-bulk/test/common-test.js
Back
/* * 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);
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings