Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ isTestFailureError
Function
isTestFailureError
lib/internal/test_runner/utils.js:107–109 ·
view source on GitHub ↗
(err)
Source
from the content-addressed store, hash-verified
105
}
106
107
function
isTestFailureError(err) {
108
return
err?.code ===
'ERR_TEST_FAILURE'
&& kIsNodeError in err;
109
}
110
111
function
convertStringToRegExp(str, name) {
112
const
match = RegExpPrototypeExec(kRegExpPattern, str);
Callers
4
runHook
Method · 0.85
run
Method · 0.85
postRun
Method · 0.85
run
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…