Skip to content

Commit 83ef9e6

Browse files
committed
Fixed tests
Signed-off-by: Robert Gogete <[email protected]>
1 parent ef427fd commit 83ef9e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/host.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ const mockWebTorrentInstance = {
4343
seed: jest.fn(),
4444
get: jest.fn(),
4545
destroy: jest.fn(),
46-
on: jest.fn()
46+
on: jest.fn(),
47+
setMaxListeners: jest.fn()
4748
};
4849

4950
// Mock torrent

0 commit comments

Comments
 (0)