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

Function check

test/common/heap.js:323–325  ·  view source on GitHub ↗
(snapshot, expected)

Source from the content-addressed store, hash-verified

321 return {
322 fixtures: fixtures.path('klass-with-fields.js'),
323 check(snapshot, expected) {
324 snapshot.validateSnapshot('Klass', expected, { loose: true });
325 },
326 cases,
327 };
328}

Callers 2

checkOutputFunction · 0.70
ArgsToTestPathsFunction · 0.50

Calls 1

validateSnapshotMethod · 0.80

Tested by 1

ArgsToTestPathsFunction · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…