MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / doneCallback

Function doneCallback

apps/automated/src/tk-unit.ts:92–98  ·  view source on GitHub ↗
(e: Error)

Source from the content-addressed store, hash-verified

90 const testStartTime = time();
91 //write("--- [" + testInfo.testName + "] Started at: " + testStartTime, Trace.messageType.info);
92 const doneCallback = (e: Error) => {
93 if (e) {
94 error = e;
95 } else {
96 isDone = true;
97 }
98 };
99
100 const timeout = testTimeout || testInfo.testTimeout || defaultTimeout;
101

Callers 1

runAsyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected