Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ nextId
Method
nextId
lib/internal/test_runner/snapshot.js:84–88 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
82
}
83
84
nextId(name) {
85
const
count = this.nameCounts.get(name) ?? 1;
86
this.nameCounts.set(name, count + 1);
87
return
`${name} ${count}`;
88
}
89
90
readFile() {
91
if
(this.loaded) {
Callers
2
createAssert
Method · 0.80
test-runner-snapshot-tests.js
File · 0.80
Calls
2
get
Method · 0.65
set
Method · 0.45
Tested by
no test coverage detected