(fn)
| 7 | }; |
| 8 | |
| 9 | const async = (fn) => { |
| 10 | const wrapped = cb => fn().then(() => cb(), cb); |
| 11 | benchmark(wrapped).then(display); |
| 12 | }; |
| 13 | |
| 14 | const display = (result) => { |
| 15 | process.stdout.write(String(result).replace(/ \(.*/, '')); |
nothing calls this directly
no outgoing calls
no test coverage detected