Skip to content

Commit fb94d9a

Browse files
committed
fix(tests): specify controller type in mock Web ReadableStream for attachments tests
1 parent b3584eb commit fb94d9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/resources/attachments.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('Attachments', () => {
2020

2121
// Mock Web ReadableStream (native in Node 18+)
2222
const mockStream = new ReadableStream({
23-
start(controller) {
23+
start(controller: ReadableStreamDefaultController<Uint8Array>): void {
2424
controller.enqueue(new Uint8Array([1, 2, 3]));
2525
controller.close();
2626
},

0 commit comments

Comments
 (0)