Closed gr2m closed 9 years ago
@patriciagarcia could you add a test, in which a doc gets created in the db before we initiate the api, to make sure that no change event gets triggered for it?
@gr2m, before we initiate the API or before we start listening to events?
excellent good question :) Before listening to events makes sense, it will cover the "before we initiate the API" part, too
Events should be implemented using EventEmitter. See implementation / tests in https://github.com/hoodiehq/wip-hoodie-store-on-pouchdb
storeOptions.type