speed-cloudflare-cli
speed-cloudflare-cli copied to clipboard
Fix MaxListenersExceededWarning in socket event handlers
Fixes #33
Changes
- Set
socket.setMaxListeners(100)in therequest()function to accommodate all event listeners - Updated test mocks to include the
setMaxListenersmethod
Testing
- All existing tests pass
- Verified no warnings appear when running the CLI
- Tested both with
node cli.jsand the compiled binary