Files
deepseek-harness/scripts/fixtures/python-sdk-authoring-clock.mjs

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')
}