Skip to main content
abortTestNetworkConnectivity() Prebuilt Custom Stops an in-progress testNetworkConnectivity() test before it completes. The original testNetworkConnectivity() Promise resolves immediately with { result: 'aborted' }, and a test-completed event fires with the same result. If no test is in progress, this method does nothing.

Return value

void

Example

See also