You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have cloned the repo, install packages and test.
$ yarn test
yarn test v0.24.5
$ jest --coverage && yarn run lint && yarn run spellcheck
PASS test/human-reporter.test.js
PASS test/base-server.test.js
PASS test/bunyan-reporter.test.js
FAIL test/server-client.test.js
● sends old actions by node ID
PASS test/force-promise.test.js
PASS test/promisify.test.js
PASS test/index.test.js
FAIL test/filtered-sync.test.js (5.167s)
● does not sync actions on add
Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
at pTimeout (node_modules/jest-jasmine2/build/queueRunner.js:53:21)
at Timeout.callback [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:523:19)
at ontimeout (timers.js:488:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:283:5)
● synchronizes only node-specific actions on connection
expect(received).toEqual(expected)
Expected value to equal:
[{"type": "B"}]
Received:
[{"type": "C"}, {"type": "B"}, {"type": "A"}]
Difference:
- Expected
+ Received
Array [
Object {
+ "type": "C",
+ },
+ Object {
"type": "B",
},
+ Object {
+ "type": "A",
+ },
]
at Promise.all.then.then.then (test/filtered-sync.test.js:56:34)
at <anonymous>
● synchronizes only user-specific actions on connection
expect(received).toEqual(expected)
Expected value to equal:
[{"type": "B"}]
Received:
[{"type": "C"}, {"type": "B"}, {"type": "A"}]
Difference:
- Expected
+ Received
Array [
Object {
+ "type": "C",
+ },
+ Object {
"type": "B",
},
+ Object {
+ "type": "A",
+ },
]
at Promise.all.then.then.then (test/filtered-sync.test.js:71:34)
at <anonymous>
PASS test/server.test.js (6.438s)
Test Suites: 2 failed, 7 passed, 9 total
Tests: 5 failed, 153 passed, 158 total
Snapshots: 65 passed, 65 total
Time: 10.578s
The text was updated successfully, but these errors were encountered:
OS: Ubuntu 16.04 xenial x86_64
Kernel: 4.8.0-56-generic
I have cloned the repo, install packages and test.
$ yarn test
yarn test v0.24.5
$ jest --coverage && yarn run lint && yarn run spellcheck
PASS test/human-reporter.test.js
PASS test/base-server.test.js
PASS test/bunyan-reporter.test.js
FAIL test/server-client.test.js
● sends old actions by node ID
● sends old actions by user
PASS test/force-promise.test.js
PASS test/promisify.test.js
PASS test/index.test.js
FAIL test/filtered-sync.test.js (5.167s)
● does not sync actions on add
● synchronizes only node-specific actions on connection
● synchronizes only user-specific actions on connection
PASS test/server.test.js (6.438s)
Test Suites: 2 failed, 7 passed, 9 total
Tests: 5 failed, 153 passed, 158 total
Snapshots: 65 passed, 65 total
Time: 10.578s
The text was updated successfully, but these errors were encountered: