MCPcopy Create free account
hub / github.com/nodejs/node / fail

Method fail

deps/v8/test/mjsunit/test-async.js:47–52  ·  view source on GitHub ↗
(expectedText, found)

Source from the content-addressed store, hash-verified

45 }
46
47 fail(expectedText, found) {
48 let message = formatFailureText(expectedText, found);
49 message += "\nin test:" + this.name_
50 message += "\n" + Function.prototype.toString.apply(this.test_);
51 %AbortJS(message);
52 }
53
54 equals(expected, found, name_opt) {
55 this.actualAsserts_++;

Callers 4

equalsMethod · 0.95
didCollectProfilesFunction · 0.45
checkInnerProfileFunction · 0.45

Calls 2

formatFailureTextFunction · 0.85
applyMethod · 0.45

Tested by

no test coverage detected