Skip to content
This repository was archived by the owner on Jan 14, 2020. It is now read-only.

Commit 0cef055

Browse files
Merge pull request #50 from fielded/feat/resolve-replication-conflicts
check for conflicting revision and resolve with the most recent version
2 parents f97e752 + aee3e61 commit 0cef055

File tree

11 files changed

+568
-63
lines changed

11 files changed

+568
-63
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"presets": [
33
["es2015", { "modules": false }]
4+
],
5+
"plugins": [
6+
"external-helpers"
47
]
58
}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
node_modules
2+
yarn.lock
3+
.idea

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
sudo: false
22
language: node_js
33
node_js:
4-
- '5.8'
4+
- 6
5+
services:
6+
- couchdb
57
before_script:
68
- npm install
9+
- ./node_modules/.bin/add-cors-to-couchdb
710
script:
811
- npm test
912
cache:

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ The test suite is configured to run with PhantomJS and is powered by:
5252
npm test
5353
```
5454

55+
To run the integration tests:
56+
57+
1. Enable CORS on your CouchDB
58+
2. If you have admin party enabled, run `npm t` (there is no step 3)
59+
3. Run `COUCHDB_URL=http://[user:pass@]example.com npm t`
60+
5561
## Release Process
5662

5763
To make a release, you need to run `npm run build`, commit the `dist` folder and tag the commit with an appropiate version according to the [SemVer spec](http://semver.org/).

0 commit comments

Comments
 (0)