Skip to content
Browse files

feathers-client is not necessary for those tests

1 parent ad7298a commit 71e621fa29f026e3026832e6de673b15c3ef3ee2 @greenkeeperio-bot greenkeeperio-bot committed with daffl
Showing with 3 additions and 3 deletions.
  1. +0 −1 package.json
  2. +3 −2 test/distributed.test.js
View
1 package.json
@@ -59,7 +59,6 @@
"babel-plugin-add-module-exports": "^0.1.2",
"babel-preset-es2015": "^6.3.13",
"body-parser": "^1.13.2",
- "feathers-client": "^0.5.1",
"feathers-rest": "^1.1.0",
"feathers-socketio": "^1.1.0",
"istanbul": "^0.4.0",
View
5 test/distributed.test.js
@@ -1,9 +1,10 @@
import assert from 'assert';
-import client from 'feathers-client';
import io from 'socket.io-client';
import socketio from 'feathers-socketio';
+import socketioClient from 'feathers-socketio/client';
import rest from 'feathers-rest';
import feathers from '../src/';
+import client from '../src/client';
describe('Distributed Feathers applications test', () => {
before(done => {
@@ -21,7 +22,7 @@ describe('Distributed Feathers applications test', () => {
it('passes created event between servers', done => {
const socket = io('http://localhost:8888');
- const remoteApp = client().configure(client.socketio(socket));
+ const remoteApp = client().configure(socketioClient(socket));
const todo = { text: 'Created on alpha server', complete: false };
const beta = feathers()
.configure(rest())

0 comments on commit 71e621f

Please sign in to comment.
Something went wrong with that request. Please try again.