MCPcopy 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
107function isTestFailureError(err) {
108 return err?.code === 'ERR_TEST_FAILURE' && kIsNodeError in err;
109}
110
111function convertStringToRegExp(str, name) {
112 const match = RegExpPrototypeExec(kRegExpPattern, str);

Callers 4

runHookMethod · 0.85
runMethod · 0.85
postRunMethod · 0.85
runMethod · 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…