()
| 97 | test.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) |