MCPcopy
hub / github.com/webpack/webpack / getActiveSnapshotState

Function getActiveSnapshotState

test/harness/snapshot/index.js:89–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87};
88
89const getActiveSnapshotState = function () {
90 const snapshotContext =
91 activeSnapshotContexts[activeSnapshotContexts.length - 1];
92
93 return snapshotContext && snapshotContext.perCaseState;
94};
95
96/**
97 * Registers per-case snapshot hooks

Callers 2

toMatchSnapshotFunction · 0.85
matchKindSnapshotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected