MCPcopy Index your code
hub / github.com/nodejs/node / getTestStatus

Method getTestStatus

test/common/wpt.js:858–871  ·  view source on GitHub ↗
(status)

Source from the content-addressed store, hash-verified

856
857 // Map WPT test status to strings
858 getTestStatus(status) {
859 switch (status) {
860 case 1:
861 return kFail;
862 case 2:
863 return kTimeout;
864 case 3:
865 return kIncomplete;
866 case NODE_UNCAUGHT:
867 return kUncaught;
868 default:
869 return kPass;
870 }
871 }
872
873 /**
874 * Report the status of each specific test case (there could be multiple

Callers 2

resultCallbackMethod · 0.95
completionCallbackMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected