MCPcopy Index your code
hub / github.com/nodejs/node / isMustCallOrTest

Function isMustCallOrTest

tools/eslint-rules/must-call-assert.js:65–69  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

63}
64
65function isMustCallOrTest(str) {
66 return str === 'test' || str === 'it' || str === 'describe' || str === 'suite' ||
67 str === 'before' || str === 'after' || str === 'beforeEach' || str === 'afterEach' ||
68 isMustCallOrMustCallAtLeast(str);
69}
70
71module.exports = {
72 meta: {

Callers 1

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…