(fn)
| 10 | parser.use(destructuredArgs) |
| 11 | |
| 12 | export const getParamsToString = function (fn) { |
| 13 | const newFn = fn.toString().replace(/^async/, 'async function') |
| 14 | return getParams(newFn).join(', ') |
| 15 | } |
| 16 | |
| 17 | function getParams(fn, { warnOnLegacyFormat = false } = {}) { |
| 18 | if (fn.isSinonProxy) return [] |
no test coverage detected