Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
141
function
assertNotIncludes(actual, expected) {
142
assert.ok(actual.toString().indexOf(expected) === -1,
143
`${JSON.stringify(actual)} doesn't include ${JSON.stringify(expected)}`);
144
}
Callers
1
test-esm-imports.mjs
File · 0.85
Calls
3
ok
Method · 0.45
indexOf
Method · 0.45
toString
Method · 0.45
Tested by
no test coverage detected