kbrsh / moon

🌙 The minimal & fast library for functional user interfaces
https://moonjs.org
MIT License
6k stars 200 forks source link

add tests for multiple HTTP requests #261

Closed kbrsh closed 5 years ago

kbrsh commented 5 years ago

The HTTP driver can send multiple concurrent requests, but can only receive one at a time. If JavaScript were ever to get true parallelism, one could use multiple HTTP drivers to account for multiple physical network ports that could receive complete HTTP requests at the same time. This adds tests for sending multiple requests and receiving them individually.

codecov-io commented 5 years ago

Codecov Report

Merging #261 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #261   +/-   ##
=======================================
  Coverage   93.35%   93.35%           
=======================================
  Files          26       26           
  Lines         843      843           
  Branches      178      178           
=======================================
  Hits          787      787           
  Misses         49       49           
  Partials        7        7

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6eb9010...d9cb7a7. Read the comment docs.