MCPcopy
hub / github.com/ro31337/libretaxi / cb

Function cb

test/response-handlers/promise-response-handler-test.js:33–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32test.cb('should execute promise and callback', t => {
33 const cb = () => new CompositeResponse(); // just empty response
34 const promise = new Promise((resolve) => {
35 // let's do some custom asynchronous operation here, this is why this handler was introduced.
36 setTimeout(resolve, 1);

Callers 1

getGeocoderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected