eventual icon indicating copy to clipboard operation
eventual copied to clipboard

Unit Testing: Invoke HTTP Apis and provide mock implementations

Open thantos opened this issue 3 years ago • 0 comments

Current it is possible to provide a handler for an event, but not for an API.

// provide an implementation of an api handler.
env.handlePath(path, method, () => {})

// call an API to hit it's handler
env.callApi(path, method, payload);

thantos avatar Dec 27 '22 22:12 thantos