Closed wegewerk-mdt closed 9 years ago
Ooh, I totally missed this. This will need a test in order to pass (due to code coverage), but yeah, this is a good fix. Could you add a test so that the code coverage is fixed?
I copied the Test '/w a filter' and adapted it for this case. Code coverage ist at 100% again, but i dont understand why the test itself fails.
Hmm, Travis says the error is quux never loaded, because its seq is 1
. Did you try to run your tests locally?
Yes i did. The tests 1) and 2) also do fail. They also fail without my patch. I dont understand what you are trying to test there. Can you fix it?
You're absolutely right; the build started breaking because of a change in PouchDB itself, which I could have avoided by implementing https://github.com/nolanlawson/pouchdb-load/issues/29. So I'll implement https://github.com/nolanlawson/pouchdb-load/issues/29 and then merge your PR.
Merged as 56bfc4446dce293f0ac8fdc5d6fd0178c56327b3, thanks a lot!
Include query_params in replIdOpts. Without a useless Checkpointer ist created, leading to sync from seq=0 on next sync.