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

Method schedulePendingSubtests

lib/internal/test_runner/test.js:916–926  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

914 }
915
916 schedulePendingSubtests() {
917 if (this.pendingSubtestsScheduled) {
918 return;
919 }
920
921 this.pendingSubtestsScheduled = true;
922 queueMicrotask(() => {
923 this.pendingSubtestsScheduled = false;
924 this.processPendingSubtests();
925 });
926 }
927
928 /**
929 * Ensure each subtest has a contiguous, per-parent reporting order.

Callers 1

startMethod · 0.80

Calls 2

queueMicrotaskFunction · 0.85

Tested by

no test coverage detected