Ignore lines from coverage if they can't be tested

This commit is contained in:
Behind The Math committed 2018-04-09 23:31:03 -04:00
1 parent dddb4dd2fb
commit 31a6f44c97
3 files changed
+4

No files matched your search

+1
View File
@@ -1,4 +1,5 @@
module.exports = function(obj) {
/* istanbul ignore if */
if (null === obj || "object" !== typeof obj) {
return obj
}