X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Ftests%2FProxy.js;h=9ffc38525fa04a66ac65a4b32f1b39b1fcae8523;hb=bf50de0db3094fc5155efc8aee14112df2545e42;hp=852009e93af4e42fbbb1e50eb12ad7b70f6c27fb;hpb=30a5cfc6c8dfe0ff412e63498eac09d31e9004a7;p=dygraphs.git diff --git a/auto_tests/tests/Proxy.js b/auto_tests/tests/Proxy.js index 852009e..9ffc385 100644 --- a/auto_tests/tests/Proxy.js +++ b/auto_tests/tests/Proxy.js @@ -71,3 +71,7 @@ Proxy.prototype.log__ = function(name, args) { var call = { name : name, args : args, properties: properties }; this.calls__.push(call); }; + +Proxy.reset = function(proxy) { + proxy.calls__ = []; +}