MCPcopy
hub / github.com/eslint/eslint / assert

Function assert

tests/bench/large.js:7992–7997  ·  view source on GitHub ↗
(expression)

Source from the content-addressed store, hash-verified

7990 }
7991
7992 function assert(expression) {
7993 if (!expression) {
7994 var arr = slice.call(arguments, 1);
7995 assert.ok(false, util.format.apply(null, arr));
7996 }
7997 }
7998 },
7999 { assert: 4, util: 9 },
8000 ],

Callers 15

reduceBadExampleSizeFunction · 0.50
createCursorWithSkipFunction · 0.50
createCursorWithCountFunction · 0.50
checkDuplicateTestCaseFunction · 0.50
runRuleForItemMethod · 0.50
testInvalidTemplateMethod · 0.50
assertValidNodeInfoFunction · 0.50
assertValidFixFunction · 0.50
mergeFixesFunction · 0.50
preprocessFunction · 0.50
addMethod · 0.50
replaceHeadMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…