(fn, length)
| 7 | |
| 8 | const QUnitAssert = { |
| 9 | arity(fn, length) |
| 10 | { |
| 11 | if (fn.length !== length) throw new Error(`'${fn}' does not have arity of ${length}`); |
| 12 | }, |
| 13 | isFunction(x) |
| 14 | { |
| 15 | if (typeof x !== 'function') throw new Error(`'${x}' is not a function`); |
nothing calls this directly
no outgoing calls
no test coverage detected