Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finish monorepo merge: http-pouchdb #236

Merged
merged 27 commits into from
Jun 26, 2017
Merged

Finish monorepo merge: http-pouchdb #236

merged 27 commits into from
Jun 26, 2017

Conversation

gr2m
Copy link
Contributor

@gr2m gr2m commented Jun 26, 2017

part of #197

marten-de-vries and others added 27 commits December 19, 2014 14:24
Update pouchdb to version 6.1.1 🚀
Update mocha to version 3.2.0 🚀
Update browserify to version 14.0.0 🚀
…5c045956a6a4b0f3f974c661c9'

git-subtree-dir: packages/node_modules/http-pouchdb
git-subtree-mainline: 445e42e
git-subtree-split: 9b28231
@gr2m gr2m mentioned this pull request Jun 26, 2017
12 tasks
@@ -68,7 +68,8 @@
"serve-favicon": "~2.3.2",
"tail": "^1.2.1",
"uuid": "^3.0.1",
"wordwrap": "1.0.0"
"wordwrap": "1.0.0",
"xhr2": "^0.1.3"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


return users.info().then(function (info) {
info.should.have.property('db_name');
});
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the constructor tests are different from the original: https://github.com/pouchdb/http-pouchdb/blob/9b28231f2c40795c045956a6a4b0f3f974c661c9/test/test.js#L25-L39

  • For the unit tests, we start our own pouchdb-server so the data_size does not exist, hence I just check for db_name
    -new HTTPPouchDB('http://localhost:5984/_replicator') is valid with the latest PouchDB, it just encodes all the slashes etc. If that is an error, it’s outside of the scope of http-pouchdb

@garrensmith
Copy link
Member

@gr2m Awesome +1

@gr2m gr2m merged commit 70e3156 into master Jun 26, 2017
@gr2m
Copy link
Contributor Author

gr2m commented Jun 26, 2017

thanks for the review @garrensmith, I’ll move forward then :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants