Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ secondsAfterPublish
Function
secondsAfterPublish
apps/kimi-code/test/cli/update/rollout.test.ts:39–41 ·
view source on GitHub ↗
(seconds: number)
Source
from the content-addressed store, hash-verified
37
}
38
39
function
secondsAfterPublish(seconds: number): Date {
40
return
new
Date(PUBLISHED_AT_MS + seconds * 1000);
41
}
42
43
describe(
'rolloutBucket'
, () => {
44
it(
'is deterministic and within 0-99'
, () => {
Callers
1
rollout.test.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected