File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 22module . exports . fixtureOne = function ( ) {
33 return {
44 fn : function testing ( cmd , args , opts ) {
5+ /* istanbul ignore next */
56 var obj = {
67 maybe : 'yea'
78 } ;
9+ /* istanbul ignore next */
810 var come = function come ( ) { return true ; } ;
911
12+ /* istanbul ignore next */
1013 return {
1114 only : 'one' ,
1215 command : cmd ,
@@ -21,14 +24,17 @@ module.exports.fixtureOne = function() {
2124module . exports . fixtureTwo = function ( ) {
2225 return {
2326 fn : function typeOf ( val ) {
27+ /* istanbul ignore next */
2428 if ( typeof val !== 'object' ) {
2529 return typeof val ;
2630 }
2731
32+ /* istanbul ignore next */
2833 if ( Array . isArray ( val ) ) {
2934 return 'array' ;
3035 }
3136
37+ /* istanbul ignore next */
3238 return { } . toString ( val ) . slice ( 8 , - 1 ) . toLowerCase ( ) ;
3339 } ,
3440 body : '\n if (typeof val !== \'object\') {\n return typeof val;\n }\n\n if (Array.isArray(val)) {\n return \'array\';\n }\n\n return {}.toString(val).slice(8, -1).toLowerCase();\n '
You can’t perform that action at this time.
0 commit comments