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

Function assertTestOutput

test/common/watch.js:62–70  ·  view source on GitHub ↗
(run, shouldCheckRecursion = false)

Source from the content-addressed store, hash-verified

60}
61
62function assertTestOutput(run, shouldCheckRecursion = false) {
63 if (shouldCheckRecursion) {
64 assert.doesNotMatch(run, /run\(\) is being called recursively/);
65 }
66 assert.match(run, /tests 1/);
67 assert.match(run, /pass 1/);
68 assert.match(run, /fail 0/);
69 assert.match(run, /cancelled 0/);
70}
71
72async function testRunnerWatch({
73 fileToUpdate,

Callers 3

testUpdateFunction · 0.85
testRenameFunction · 0.85
testCreateFunction · 0.85

Calls 1

matchMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…