Skip to content

Commit d92d8b0

Browse files
committed
Manually fix a bunch of type errors -- props is required by ExecutionContext.
Claude doesn't know this because this is a pretty new addition to Workers.
1 parent 70b5105 commit d92d8b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__tests__/oauth-provider.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class MockKV {
8080
* Mock execution context for Cloudflare Workers
8181
*/
8282
class MockExecutionContext implements ExecutionContext {
83-
props?: any;
83+
props: any = {};
8484

8585
waitUntil(promise: Promise<any>): void {
8686
// In tests, we can just ignore waitUntil

0 commit comments

Comments
 (0)