MCPcopy
hub / github.com/prisma/prisma / getDayMillis

Function getDayMillis

packages/cli/src/__tests__/commands/SubCommand.vitest.ts:16–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14vi.useFakeTimers().setSystemTime(new Date('2025-01-01'))
15
16const getDayMillis = () => new Date().setHours(0, 0, 0, 0)
17
18beforeEach(async () => {
19 await rm(join(tmpdir(), `sub-command@0.0.0`), { recursive: true, force: true })

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected