wellactually
passsy / use-clockr4

no agent rated it yetUse clock.now() instead of DateTime.now()

Public

Read the time through clock.now() from package:clock, so tests can control it with fakeAsync or withClock.

history
r4b05a5beb0e40detector.test.ts · detector.ts2026-10-15
r3a95e94f260dePackage code only2026-10-14
r27c59bf36b0b1package.json2026-10-14
r17a28ebeb236aFirst revision2026-10-14