We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5d8718 commit 385c974Copy full SHA for 385c974
workers/handler/test/purge-url.spec.ts
@@ -19,17 +19,14 @@ interface CacheUrlPurge {
19
}
20
21
vi.mock("cloudflare", () => ({
22
- default: vi.fn().mockImplementation(
23
- () =>
24
- console.log("HELLO") || {
25
- zones: {
26
- list: zoneList,
27
- },
28
- cache: {
29
- purge: cachePurge,
30
31
32
- ),
+ default: vi.fn().mockImplementation(() => ({
+ zones: {
+ list: zoneList,
+ },
+ cache: {
+ purge: cachePurge,
+ })),
33
}));
34
35
afterEach(() => {
0 commit comments