projects
/
squeep-html-template-helper
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
initial commit
[squeep-html-template-helper]
/
test
/
stub-logger.js
diff --git a/test/stub-logger.js
b/test/stub-logger.js
new file mode 100644
(file)
index 0000000..
ebe2670
--- /dev/null
+++ b/
test/stub-logger.js
@@ -0,0
+1,10
@@
+'use strict';
+
+const nop = () => { /* */ };
+const stubLogger = process.env.VERBOSE_TESTS ? console : {
+ debug: nop,
+ error: nop,
+ info: nop,
+};
+
+module.exports = stubLogger;
\ No newline at end of file