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

Function assertArrayIncludes

test/addons/openssl-providers/providers.cjs:45–48  ·  view source on GitHub ↗
(array, item, desc)

Source from the content-addressed store, hash-verified

43}
44
45function assertArrayIncludes(array, item, desc) {
46 assert(array.includes(item),
47 `${desc} [${array}] does not include "${item}"`);
48}
49
50function testProviderPresent(provider) {
51 debug(`Checking '${provider}' is present`);

Callers 1

testProviderPresentFunction · 0.70

Calls 2

includesMethod · 0.80
assertFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…