refactor(api): move Clock abstraction from travel to shared

This commit is contained in:
Bastian Wagner
2026-08-21 14:21:39 +02:00
parent 2579b23a5c
commit b55518b451
4 changed files with 4 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
export const CLOCK = Symbol('CLOCK');
export interface Clock {
now(): Date;
}
export const systemClock: Clock = {
now: () => new Date(),
};