(util, expected, searchTerm, options)
| 27 | } |
| 28 | |
| 29 | function search(util, expected, searchTerm, options) { |
| 30 | if (!expected || typeof searchTerm == expected) { |
| 31 | traverse(util, searchTerm, options); |
| 32 | } else { |
| 33 | console.error([searchTerm, 'must be', expected].join(' ')); |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | var tests = { |
| 38 | 'name': function(searchTerm, obj, prop) {return searchTerm == prop;}, |
no test coverage detected