mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Avoid chatty console.log.
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
/** Method and object shortcuts. */
|
/** Method and object shortcuts. */
|
||||||
var phantom = root.phantom,
|
var phantom = root.phantom,
|
||||||
amd = root.define && define.amd,
|
amd = root.define && define.amd,
|
||||||
|
argv = root.process && process.argv,
|
||||||
document = !phantom && root.document,
|
document = !phantom && root.document,
|
||||||
noop = function() {},
|
noop = function() {},
|
||||||
slice = arrayProto.slice,
|
slice = arrayProto.slice,
|
||||||
@@ -65,7 +66,9 @@
|
|||||||
|
|
||||||
/*--------------------------------------------------------------------------*/
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
console.log('Running lodash/fp tests.');
|
if (argv) {
|
||||||
|
console.log('Running lodash/fp tests.');
|
||||||
|
}
|
||||||
|
|
||||||
QUnit.module('method arity checks');
|
QUnit.module('method arity checks');
|
||||||
|
|
||||||
|
|||||||
@@ -636,9 +636,8 @@
|
|||||||
|
|
||||||
/*--------------------------------------------------------------------------*/
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
console.log('Running lodash tests.');
|
|
||||||
|
|
||||||
if (params) {
|
if (params) {
|
||||||
|
console.log('Running lodash tests.');
|
||||||
console.log('test.js invoked with arguments: ' + JSON.stringify(slice.call(params)));
|
console.log('test.js invoked with arguments: ' + JSON.stringify(slice.call(params)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user