You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The proposed solution didn't work, because the `arguments.length` was
always 2 since it was an internal private method. Since this is about to
be rewritten anyway I just tacked on a stupid third arg that measures
arg length on the public function.
I also removed the extra error message since the original message is
actually probably clearer. I highly doubt anyone is intentionally
relying on this, so a compat notice isn't very necessary IMO
@@ -58,9 +57,6 @@ Did you mean \`td.object(['${name}'])\`?\
58
57
}
59
58
}
60
59
61
-
varensureUndifinedVariableNotPassed=()=>
62
-
log.error('td.object',`undefined variable was passed to \`td.object\` (as of [email protected]). Please use \`td.object()\` or \`td.object('someString')\` to create a test doulbe via proxy.`)
63
-
64
60
varensureFunctionIsNotPassed=()=>
65
61
log.error('td.object',`Functions are not valid arguments to \`td.object\` (as of [email protected]). Please use \`td.function()\` or \`td.constructor()\` instead for creating fake functions.`)
0 commit comments