Ignore lines from coverage if they can't be tested

This commit is contained in:
Behind The Math
2018-03-20 18:43:34 -04:00
parent dddb4dd2fb
commit 31a6f44c97
3 changed files with 4 additions and 0 deletions

View File

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