git ssb

0+

Dominic / ssb-peer-invites



Commit 391163e63d7f2d8f4b5c8568fb7bfe8c355a54d0

port tests to ssb-server@14

Henry committed on 2/6/2019, 12:49:01 PM
Parent: 632d3f5383d2ae590febccc0988ee9be02b0ba88

Files changed

package.jsonchanged
test/accept.jschanged
test/accept2.jschanged
test/accept3.jschanged
test/accept4.jschanged
test/accept5.jschanged
test/error-without-pubs.jschanged
test/invite-with-pubs.jschanged
test/will-replicate.jschanged
package.jsonView
@@ -19,11 +19,16 @@
1919 "ssb-ref": "^2.13.9"
2020 },
2121 "devDependencies": {
2222 "explain-error": "^1.0.4",
23- "scuttlebot": "^13.2.2",
2423 "ssb-device-address": "^1.1.2",
24 + "ssb-friends": "^3.1.12",
25 + "ssb-gossip": "^1.0.4",
2526 "ssb-identities": "^2.0.7",
27 + "ssb-links": "^3.0.4",
28 + "ssb-query": "^2.3.0",
29 + "ssb-replicate": "^1.0.4",
30 + "ssb-server": "^14.0.0",
2631 "ssb-validate": "^3.0.1",
2732 "tape": "^4.9.2"
2833 },
2934 "scripts": {
test/accept.jsView
@@ -5,9 +5,9 @@
55 var pull = require('pull-stream')
66
77 var I = require('../valid')
88
9-var createSbot = require('scuttlebot')
9 +var createSbot = require('ssb-server')
1010 .use(require('ssb-links'))
1111 .use({
1212 name: 'replicate', version: '1.0.0',
1313 manifest: { request: 'sync' },
test/accept2.jsView
@@ -6,9 +6,9 @@
66 var ssbKeys = require('ssb-keys')
77 var tape = require('tape')
88 var pull = require('pull-stream')
99
10-var createSbot = require('scuttlebot')
10 +var createSbot = require('ssb-server')
1111 .use(require('ssb-links'))
1212 .use({
1313 name: 'replicate', version: '1.0.0',
1414 manifest: { request: 'sync' },
test/accept3.jsView
@@ -7,9 +7,9 @@
77 var tape = require('tape')
88 var pull = require('pull-stream')
99 var ref = require('ssb-ref')
1010
11-var createSbot = require('scuttlebot')
11 +var createSbot = require('ssb-server')
1212 .use(require('ssb-links'))
1313 .use({
1414 name: 'replicate', version: '1.0.0',
1515 manifest: { request: 'sync' },
test/accept4.jsView
@@ -5,9 +5,9 @@
55 var ssbKeys = require('ssb-keys')
66 var tape = require('tape')
77 var pull = require('pull-stream')
88
9-var createSbot = require('scuttlebot')
9 +var createSbot = require('ssb-server')
1010 .use(require('ssb-links'))
1111 .use({
1212 name: 'replicate', version: '1.0.0',
1313 manifest: { request: 'sync' },
test/accept5.jsView
@@ -5,9 +5,9 @@
55 var ssbKeys = require('ssb-keys')
66 var tape = require('tape')
77 var pull = require('pull-stream')
88
9-var createSbot = require('scuttlebot')
9 +var createSbot = require('ssb-server')
1010 .use(require('ssb-links'))
1111 .use({
1212 name: 'replicate', version: '1.0.0',
1313 manifest: { request: 'sync' },
test/error-without-pubs.jsView
@@ -4,9 +4,9 @@
44 var ssbKeys = require('ssb-keys')
55 var tape = require('tape')
66 var pull = require('pull-stream')
77
8-var createSbot = require('scuttlebot')
8 +var createSbot = require('ssb-server')
99 .use(require('ssb-links'))
1010 .use({
1111 name: 'replicate', version: '1.0.0',
1212 manifest: { request: 'sync' },
test/invite-with-pubs.jsView
@@ -3,12 +3,12 @@
33 var tape = require('tape')
44
55 var u = require('../util')
66
7-var createSbot = require('scuttlebot')
7 +var createSbot = require('ssb-server')
88 .use(require('ssb-links'))
9- .use(require('scuttlebot/plugins/replicate'))
10- .use(require('scuttlebot/plugins/gossip'))
9 + .use(require('ssb-replicate'))
10 + .use(require('ssb-gossip'))
1111 .use(require('ssb-query'))
1212 .use(require('ssb-device-address'))
1313 .use(require('ssb-identities'))
1414 .use(require('ssb-friends'))
test/will-replicate.jsView
@@ -1,8 +1,8 @@
11 var ssbKeys = require('ssb-keys')
22 var tape = require('tape')
33
4-var createSbot = require('scuttlebot')
4 +var createSbot = require('ssb-server')
55 .use(require('ssb-links'))
66 .use({
77 name: 'replicate', version: '1.0.0',
88 manifest: { request: 'sync' },

Built with git-ssb-web