(name, logs)
| 275 | } |
| 276 | |
| 277 | function log(name, logs) { |
| 278 | if(logs.length) { |
| 279 | console.error('test-syntax error [' + name + ']'); |
| 280 | console.error(logs.join('\n')); |
| 281 | EXIT_CODE = 1; |
| 282 | } else { |
| 283 | console.log('ok ' + name); |
| 284 | } |
| 285 | } |
| 286 | |
| 287 | process.on('exit', function() { |
| 288 | if(EXIT_CODE) { |
no outgoing calls
no test coverage detected