UNPKG

mappersmith

Version:

It is a lightweight rest client for node.js and the browser

11 lines (9 loc) 217 B
/** * @typedef MockAssert */ function MockAssert(calls) { this.calls = () => calls this.callsCount = () => calls.length this.mostRecentCall = () => calls[calls.length - 1] || null } export default MockAssert