Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ setSnapshot
Method
setSnapshot
lib/internal/test_runner/snapshot.js:80–82 ·
view source on GitHub ↗
(id, value)
Source
from the content-addressed store, hash-verified
78
}
79
80
setSnapshot(id, value) {
81
this.snapshots[escapeSnapshotKey(id)] = value;
82
}
83
84
nextId(name) {
85
const
count = this.nameCounts.get(name) ?? 1;
Callers
2
createAssert
Method · 0.80
test-runner-snapshot-tests.js
File · 0.80
Calls
1
escapeSnapshotKey
Function · 0.85
Tested by
no test coverage detected