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

Function getGeocoder

test/menu/decorators/lookup-address-test.js:99–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97test.cb('should resolve promise with the same address when geocoder returns error', t => {
98 t.plan(1);
99 const getGeocoder = () => ({
100 geocode: (_address, cb) => { cb(true); },
101 });
102 const action = new LookupAddress(defaultParams, origin, settings, getGeocoder);
103 action
104 .promise(address)

Callers

nothing calls this directly

Calls 1

cbFunction · 0.85

Tested by

no test coverage detected