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

Function assertNotIncludes

test/es-module/test-esm-imports.mjs:141–144  ·  view source on GitHub ↗
(actual, expected)

Source from the content-addressed store, hash-verified

139}
140
141function assertNotIncludes(actual, expected) {
142 assert.ok(actual.toString().indexOf(expected) === -1,
143 `${JSON.stringify(actual)} doesn't include ${JSON.stringify(expected)}`);
144}

Callers 1

Calls 3

okMethod · 0.45
indexOfMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected