The unit tests are currently skipped, need to fix the bug and get them working.
Internally the implementation relies on getting the correct errors from DevTools when the execution context is disposed.
Issue MicrosoftEdge/WebView2Feedback#1609 needs to be fixed before this can be resolved.