(count, rest)
| 12 | }); |
| 13 | |
| 14 | function makeTest(count, rest) { |
| 15 | if (rest) { |
| 16 | return function test(...args) { |
| 17 | assert.strictEqual(count, args.length); |
| 18 | }; |
| 19 | } |
| 20 | return function test() { |
| 21 | assert.strictEqual(count, arguments.length); |
| 22 | }; |
| 23 | } |
| 24 | |
| 25 | function main({ n, context, count, rest, method }) { |
| 26 | const ctx = context === 'context' ? {} : null; |
no outgoing calls
no test coverage detected
searching dependent graphs…