From dfe69bbb1f1f16d4f355a79465249828943ca825 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 30 May 2020 00:35:06 +0300 Subject: [PATCH] monor tweaks and notes... Signed-off-by: Alex A. Naanou --- test.js | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/test.js b/test.js index 0575ab4..422a3dc 100755 --- a/test.js +++ b/test.js @@ -14,7 +14,16 @@ var object = require('./object') //--------------------------------------------------------------------- -module.VERBOSE = false +// NOTE: to test in verbose mode do: +// $ export VERBOSE=1 && npm test +// or +// $ export VERBOSE=1 && node test.js +// or set this manually after require('./test') but before running +// the runner(..) +// XXX this may change in the future... +module.VERBOSE = process ? + process.env.VERBOSE + : false @@ -197,7 +206,7 @@ var tests = { .map(function([k, o]){ // NOTE: not all callables are instances of Function... //assert(typeof(o) == 'function' - // && o instanceof Function, 'instanceof Function') + // && o instanceof Function, 'instanceof Function', k) return typeof(o) == 'function' && assert(o(), 'call', k) }) }, }