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
kitsunet-js on ξ master [!] is π¦ v0.0.1 via β¬’ v10.15.3 took 58s
β npm test
> [email protected] test /home/xyz/Development/kitsunet-js
> aegir test
Test Node.js
Warning: Could not find any test files matching pattern: test/node.js
kitsunet rpc
1) should encode IDENTIFY message
2) should encode SLICE_ID message
3) should encode SLICES message
4) should encode HEADERS message
5) should encode LATEST_BLOCK message
6) should encode NODE_TYPE message
slice manager
7) should track slices
8) should untrack slices
9) should store slices
β should get slice by id
β should get latest slice
β should get slice by block
β should start
β should stop
slice
β should construct a valid slice id
β should construct a valid slice from string id
β should construct slice from buffer
β should construct slice from string
β should construct slice from object
sliced trie
β should retrieve key from trie
11 passing (61ms)
9 failing
1) kitsunet rpc
should encode IDENTIFY message:
TypeError: Cannot read property 'identify' of undefined
at Context.it (test/kitsunet-rpc.spec.js:45:55)
2) kitsunet rpc
should encode SLICE_ID message:
TypeError: Cannot read property 'sliceIds' of undefined
at Context.it (test/kitsunet-rpc.spec.js:65:55)
3) kitsunet rpc
should encode SLICES message:
TypeError: Cannot read property 'slices' of undefined
at Context.it (test/kitsunet-rpc.spec.js:85:53)
4) kitsunet rpc
should encode HEADERS message:
TypeError: Cannot read property 'headers' of undefined
at Context.it (test/kitsunet-rpc.spec.js:105:54)
5) kitsunet rpc
should encode LATEST_BLOCK message:
TypeError: Cannot read property 'latestBlock' of undefined
at Context.it (test/kitsunet-rpc.spec.js:125:58)
6) kitsunet rpc
should encode NODE_TYPE message:
TypeError: Cannot read property 'type' of undefined
at Context.it (test/kitsunet-rpc.spec.js:145:51)
7) slice manager
should track slices:
AssertionError [ERR_ASSERTION]: slicesStore should be supplied
at new SliceManager (src/slice-manager.js:18:5)
at Context.it (test/slice-manager.spec.js:34:26)
8) slice manager
should untrack slices:
AssertionError [ERR_ASSERTION]: slicesStore should be supplied
at new SliceManager (src/slice-manager.js:18:5)
at Context.it (test/slice-manager.spec.js:57:26)
9) slice manager
should store slices:
AssertionError [ERR_ASSERTION]: slicesStore should be supplied
at new SliceManager (src/slice-manager.js:18:5)
at Context.it (test/slice-manager.spec.js:73:26)
Command failed: mocha --ui bdd --timeout 5000 --colors --exit test/node.js test/**/*.spec.js
null
null
npm ERR! Test failed. See above for more details.
we should setup CI? related #12
The text was updated successfully, but these errors were encountered: