memoizee/test/lib/resolve-length.js
raw| 1 | "use strict"; |
| 2 | |
| 3 | module.exports = function (t, a) { |
| 4 | a(t(1, 2), 1, "Options"); |
| 5 | a(t(1, 2, true), 1, "Options: Async "); |
| 6 | a(t(undefined, 2), 2, "Function"); |
| 7 | a(t(undefined, 2, true), 1, "Function: Async"); |
| 8 | a(t(undefined, undefined, false), 1, "Unknown"); |
| 9 | a(t(undefined, undefined, true), 1, "Unknown: async"); |
| 10 | }; |