Skip to content

Commit

Permalink
remove check
Browse files Browse the repository at this point in the history
  • Loading branch information
corinapurcarea committed May 12, 2021
1 parent 3cf82cf commit f3b61e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/lua/com/adobe/test/framework/Mocka.lua
Expand Up @@ -308,7 +308,7 @@ function spy(class, method, fn)
end

function reset_spy(class, method)
if spies and spies[class] and mirror[class] then
if spies and spies[class] then
spies[class][method] = mirror[class][method]
end
end
Expand Down

0 comments on commit f3b61e5

Please sign in to comment.