Apply prettier

This commit is contained in:
Elliot Nelson
2019-06-07 23:33:06 -04:00
parent 96786c793f
commit e07da96354
3 changed files with 22 additions and 5 deletions

View File

@@ -12,7 +12,13 @@ getJasmineRequireObj().Spy = function(j$) {
* @constructor
* @name Spy
*/
function Spy(name, originalFn, customStrategies, defaultStrategyFn, getPromise) {
function Spy(
name,
originalFn,
customStrategies,
defaultStrategyFn,
getPromise
) {
var numArgs = typeof originalFn === 'function' ? originalFn.length : 0,
wrapper = makeFunc(numArgs, function() {
return spy.apply(this, Array.prototype.slice.call(arguments));