pelias / wof-admin-lookup

Who's on First Admin Lookup for the Pelias Geocoder
https://pelias.io
MIT License
9 stars 24 forks source link

move away from event-stream, replace with stream-mock #319

Closed michaelkirk closed 8 months ago

michaelkirk commented 9 months ago

Here's the reason for this change :rocket:

Part of https://github.com/pelias/pelias/issues/801

Here's what actually got changed :clap:

Technique cribbed from https://github.com/pelias/openaddresses/pull/457

I also consolidated the test_stream function in a single place.

Here's how others can test the changes :eyes:

I ran the tests before and after this change with a fresh npm install.

missinglink commented 8 months ago

Thanks!