libra-core icon indicating copy to clipboard operation
libra-core copied to clipboard

npm test test/client.test.ts -> getAccountState() Error

Open IMKAIER opened this issue 4 years ago • 0 comments

$ npm test

[email protected] test D:\nginx-1.12.0\html\190322_coin\coin_node\libra\libra-core jest

PASS test/wallet.test.ts FAIL test/client.test.ts (5.507s) ● Console

console.log test/client.test.ts:15
  Account 1 address 7f58df27522872ecfac340c5c072427e6f8083ca3c79bb748cdd1ae073dacc42

● LibraClient › should query account state and transfer

13 INTERNAL: Failed to parse server response

  at Object.<anonymous>.exports.createStatusError (node_modules/grpc/src/common.js:91:15)
  at Object.onReceiveStatus (node_modules/grpc/src/client_interceptors.js:1204:28)
  at InterceptingListener.Object.<anonymous>.InterceptingListener._callNext (node_modules/grpc/src/client_interceptors.js:568:42)
  at InterceptingListener.Object.<anonymous>.InterceptingListener.onReceiveStatus (node_modules/grpc/src/client_interceptors.js:618:8)
  at callback (node_modules/grpc/src/client_interceptors.js:845:24)

Test Suites: 1 failed, 1 passed, 2 total Tests: 1 failed, 1 passed, 2 total Snapshots: 0 total Time: 8.026s Ran all test suites. npm ERR! Test failed. See above for more details.

IMKAIER avatar Mar 05 '20 08:03 IMKAIER