w3c / did-test-suite

W3C DID Test Suite and Implementation Report

Home Page:https://w3c.github.io/did-test-suite/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test error

caict-develop-zhangbo opened this issue · comments

When I run the test as the example, i found the problem as issue#104,then I repleace the default.json to defaule.js and run it locally, but I have encountered the following errors:

node generate-latest-respec-data.js

(node:5461) UnhandledPromiseRejectionWarning: TypeError: suites.map is not a function
at runAll (/root/did-test-suite/packages/did-core-test-server/services/getReportResults.js:28:14)
at capture (/root/did-test-suite/packages/did-core-test-server/services/getReportResults.js:15:11)
at getReportResults (/root/did-test-suite/packages/did-core-test-server/services/getReportResults.js:34:32)
at /root/did-test-suite/packages/did-core-test-server/generate-latest-respec-data.js:6:38
at Object. (/root/did-test-suite/packages/did-core-test-server/generate-latest-respec-data.js:12:3)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
(node:5461) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
(node:5461) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.