MCPcopy Create free account
hub / github.com/nodejs/node / add_completion_callback

Function add_completion_callback

test/fixtures/wpt/resources/testharness.js:4249–4251  ·  view source on GitHub ↗

* Add a callback that's triggered when all tests are complete. * * @param {Function} callback - Callback function, called with an * array of :js:class:`Test` objects, a :js:class:`TestsStatus` * object and an array of :js:class:`AssertRecord` objects. If the * debug setting

(callback)

Source from the content-addressed store, hash-verified

4247 * empty.
4248 */
4249 function add_completion_callback(callback) {
4250 tests.all_done_callbacks.push(callback);
4251 }
4252
4253 expose(add_start_callback, 'add_start_callback');
4254 expose(add_test_state_callback, 'add_test_state_callback');

Callers 8

testharness.jsFile · 0.70
worker.jsFile · 0.50
newCredentiallessWindowFunction · 0.50
common.jsFile · 0.50
subset-tests.jsFile · 0.50

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected