mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-10-26 16:55:08 +00:00
9 lines
272 B
JavaScript
9 lines
272 B
JavaScript
/** Keep the authoring request snapshot stable without replacing native timers. */
|
|
export function apply(ctx) {
|
|
const original = Date.now
|
|
ctx.effect(() => {
|
|
Date.now = () => 1792108800000
|
|
return () => { Date.now = original }
|
|
}, 'authoring snapshot clock')
|
|
}
|