MCPcopy Create free account
hub / github.com/nodejs/node / isAssertionLike

Function isAssertionLike

lib/internal/test_runner/reporter/tap.js:289–291  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

287}
288
289function isAssertionLike(value) {
290 return value && typeof value === 'object' && 'expected' in value && 'actual' in value;
291}
292
293module.exports = tapReporter;

Callers 1

jsToYamlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected