1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/cli/tests/unit_node
Marvin Hagemeister 59f419bf41
fix(node/http): remoteAddress and remotePort not being set (#21998)
<!--
Before submitting a PR, please read https://deno.com/manual/contributing

1. Give the PR a descriptive title.

  Examples of good title:
    - fix(std/http): Fix race condition in server
    - docs(console): Update docstrings
    - feat(doc): Handle nested reexports

  Examples of bad title:
    - fix #7123
    - update docs
    - fix bugs

2. Ensure there is a related issue and it is referenced in the PR text.
3. Ensure there are tests that cover the changes.
4. Ensure `cargo test` passes.
5. Ensure `./tools/format.js` passes without changing files.
6. Ensure `./tools/lint.js` passes.
7. Open as a draft PR if your work is still in progress. The CI won't
run
   all steps, but you can add '[ci]' to a commit message to force it to.
8. If you would like to run the benchmarks on the CI, add the 'ci-bench'
label.
-->

Ultimately, it came down to using incorrect property names in the
`FakeSocket` constructor. The values are passed under `remoteAddress`,
not `hostname` and `remotePort` instead of `port`.

Fixes https://github.com/denoland/deno/issues/21980
2024-01-19 13:09:37 +01:00
..
_fs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
crypto chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
internal chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
testdata fix(ext/node): sign with PEM private keys (#21287) 2023-12-03 09:58:13 +05:30
_test_utils.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
assertion_error_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
async_hooks_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
buffer_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
child_process_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
console_test.ts fix(ci): copyright year for console_test.ts (#21787) 2024-01-04 00:57:13 -05:00
dgram_test.ts fix(ext/node): UdpSocket ref and unref (#21777) 2024-01-04 08:51:39 +05:30
events_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
fs_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
http2_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
http_test.ts fix(node/http): remoteAddress and remotePort not being set (#21998) 2024-01-19 13:09:37 +01:00
module_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
net_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
os_test.ts fix(ext/node): implement os.machine (#21751) 2024-01-02 14:57:54 +01:00
path_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
perf_hooks_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
process_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
querystring_test.ts fix(ext/node): querystring stringify without encode callback (#21740) 2024-01-02 04:54:11 +00:00
readline_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
repl_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
stream_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
string_decoder_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
timers_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
tls_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
tty_test.ts fix(ext/node): add WriteStream.isTTY (#21801) 2024-01-05 22:37:14 +01:00
util_test.ts fix: strict type check for cross realms (#21669) 2024-01-04 09:42:38 +05:30
v8_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
vm_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
worker_threads_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
zlib_test.ts fix(node/zlib): accept dataview and buffer in zlib bindings (#21756) 2024-01-03 19:03:51 +05:30