MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / returnTestState

Function returnTestState

tests/helpers/ember.js:91–105  ·  view source on GitHub ↗
(statusCode)

Source from the content-addressed store, hash-verified

89 });
90
91 function returnTestState(statusCode) {
92 let result = {
93 exitCode: statusCode,
94 statusCode,
95 inputStream,
96 outputStream,
97 errorLog,
98 };
99
100 if (statusCode) {
101 throw result;
102 } else {
103 return result;
104 }
105 }
106
107 return cliInstance.then(returnTestState);
108};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…