Closed Mattchewone closed 5 years ago
After upgrading the packages to the latest of featherjs, the tests for feathers socketio are now failing.
I upgraded the devDependencies as follows:
devDependencies
"devDependencies": { "@feathersjs/feathers": "^3.3.1", "@feathersjs/socketio-client": "^1.2.1", "can-set-legacy": "<2.0.0", "detect-cyclic-packages": "^1.1.0", "done-serve": "^1.2.0", "donejs-cli": "^1.0.1", "es6-promise-polyfill": "^1.2.0", "generator-donejs": "^1.0.5", "jshint": "^2.9.1", "object-assign": "^4.1.0", "socket.io-client": "^2.2.0", "steal": "^1.5.6", "steal-qunit": "^1.0.1", "steal-tools": "^1.1.2", "testee": "^0.9.0" }
Then in the test.js file I removed the feathers-hooks package as this is no longer an external dependency:
test.js
feathers-hooks
... var feathers = require('@feathersjs/feathers'); var feathersSocketio = require('@feathersjs/socketio-client'); ... var app = feathers() .configure(feathersSocketio(socket)); ...
After making these changes and re-running the tests I see this error "Timeout of 5000ms exceeded calling find on messages".
"Timeout of 5000ms exceeded calling find on messages"
After upgrading the packages to the latest of featherjs, the tests for feathers socketio are now failing.
I upgraded the
devDependencies
as follows:Then in the
test.js
file I removed thefeathers-hooks
package as this is no longer an external dependency:After making these changes and re-running the tests I see this error
"Timeout of 5000ms exceeded calling find on messages"
.