import { spy } from '@paychex/core';const method = spy();method('abc');method('def');method.args; // ["def"]method.calls[0].args; // ["abc"]method.calls[0].callTime; // Datemethod.call(window, "ghi");method.calls.mostRecent().context; // Window
The arguments passed to this invocation of the spy.
When the spy was invoked.
The this context used for this invocation of the spy.
this