pouchdb-community / pouchdb-load

Load documents into CouchDB/PouchDB from a dumpfile
Apache License 2.0
120 stars 33 forks source link

(#21) - proxy fails if "adapter" in target opts #22

Closed ddouglascarr closed 9 years ago

ddouglascarr commented 9 years ago

To get a failing test, I added an explicit adapter type for browser tests only (I went with "idb").

I don't know if there are browsers which don't support this, so it might be better to remove that.

Fixes #21

nolanlawson commented 9 years ago

So this test will fail in WebSQL+PhantomJS, which is why Travis is failing.

In general I think this sounds like a bug in the PouchDB checkpointer. The checkpoint should not be affected by the adapter.

nolanlawson commented 9 years ago

Closing because this is really a bug on the PouchDB checkpointer. And now that the checkpointer is shared between these two projects, we can fix it in PouchDB proper.