test: mock Cloudflare worker environment

Adds a mock for cloudflare workers to enable testing
of code that relies on the cloudflare workers environment.
This commit is contained in:
2025-08-10 19:52:54 -04:00
parent 6de8c594b7
commit 26037d592e
2 changed files with 25 additions and 0 deletions

View File

@@ -3,4 +3,5 @@ preload = [
"./testSetup.ts",
"./src/mocks/consumet.ts",
"./src/mocks/getGoogleAuthToken.ts",
"./src/mocks/cloudflare.ts",
]