Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/coder/mux
/ __resetTokenizerForTests
Function
__resetTokenizerForTests
src/node/utils/main/tokenizer.ts:284–288 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
282
}
283
284
export
function
__resetTokenizerForTests(): void {
285
encodingPromises.clear();
286
tokenCountCache.clear();
287
inFlightCounts.clear();
288
}
Callers
1
tokenizer.test.ts
File · 0.90
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected