fix(@libp2p/tcp): race condition in onSocket #2763
96.02% of diff hit (target 91.16%)
View this Pull Request on Codecov
96.02% of diff hit (target 91.16%)
Annotations
Check warning on line 127 in packages/transport-tcp/src/listener.ts
codecov / codecov/patch
packages/transport-tcp/src/listener.ts#L127
Added line #L127 was not covered by tests
Check warning on line 73 in packages/transport-tcp/test/connection-limits.spec.ts
codecov / codecov/patch
packages/transport-tcp/test/connection-limits.spec.ts#L73
Added line #L73 was not covered by tests
Check warning on line 412 in packages/transport-tcp/test/listen-dial.spec.ts
codecov / codecov/patch
packages/transport-tcp/test/listen-dial.spec.ts#L411-L412
Added lines #L411 - L412 were not covered by tests
Check warning on line 455 in packages/transport-tcp/test/listen-dial.spec.ts
codecov / codecov/patch
packages/transport-tcp/test/listen-dial.spec.ts#L454-L455
Added lines #L454 - L455 were not covered by tests