Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kilo-Org/cloud
/ idempotency.test.ts
File
idempotency.test.ts
services/gmail-push/src/idempotency.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it, vi } from
'vitest'
;
2
3
// Mock cloudflare:workers
4
vi.mock(
'cloudflare:workers'
, () => ({
Callers
nothing calls this directly
Calls
6
checkAndMark
Method · 0.80
createInstance
Function · 0.70
createFakeStorage
Function · 0.70
get
Method · 0.65
set
Method · 0.65
alarm
Method · 0.65
Tested by
no test coverage detected