1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 01:29:14 -05:00
denoland-deno/tests/unit_node
Bartek Iwańczuk b424959d3e
fix(ext/node): worker_threads copies env object (#23536)
Most common argument to `env` option for `worker_threads.Worker` will be
`process.env`.

In Deno `process.env` is a `Proxy` which can't be cloned using
structured clone algorithm.

So to be safe, I'm creating a copy of actual object before it's sent to
the worker thread.

Ref #23522
2024-04-24 16:17:28 +00:00
..
_fs fix(ext/node): cp into non-existent parent directory (#23469) 2024-04-20 11:41:27 +00:00
crypto fix(ext/node): handle KeyObject in prepareAsymmetricKey (#23026) 2024-03-22 19:28:28 +05:30
internal chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
testdata fix(ext/node): worker_threads ESM handling (#22841) 2024-03-20 09:12:22 +05:30
_test_utils.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
assertion_error_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
async_hooks_test.ts fix(ext/node): add stub for AsyncResource#asyncId() (#23372) 2024-04-15 12:54:42 +00:00
buffer_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
child_process_test.ts fix(ext/node): support stdin: "inherit" in node:child_process (#23110) 2024-03-28 19:44:42 +05:30
console_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
dgram_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
domain_test.ts fix(ext/node): polyfill node:domain module (#23088) 2024-04-03 21:37:10 +02:00
events_test.ts fix(ext/node): implement EventEmitterAsyncResource (#22994) 2024-03-20 11:20:18 +05:30
fs_test.ts fix(ext/node): out-of-order writes of fs.createWriteStream (#23244) 2024-04-08 12:47:34 +09:00
http2_test.ts fix(ext/node): http2.createServer (#22708) 2024-03-07 19:28:46 +05:30
http_test.ts fix(ext/node): define http.maxHeaderSize (#23479) 2024-04-21 07:31:23 +05:30
module_test.ts fix(ext/node): Add "module" to builtinsModule (#23242) 2024-04-05 11:38:00 +00:00
net_test.ts fix(ext/node): Correctly send ALPN on node TLS connections (#23434) 2024-04-18 09:37:47 -06:00
os_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
path_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
perf_hooks_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
process_test.ts fix(ext/node): implement process.kill in Rust (#23130) 2024-04-20 18:55:07 +05:30
punycode_test.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
querystring_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
readline_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
repl_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
stream_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
string_decoder_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
timers_test.ts fix(ext/node): spread args in setImmediate (#22998) 2024-03-20 07:52:50 +00:00
tls_test.ts fix(ext/node): Correctly send ALPN on node TLS connections (#23434) 2024-04-18 09:37:47 -06:00
tty_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
util_test.ts fix: util.parseArgs() missing node:process import (#22405) 2024-02-18 07:30:27 -07:00
v8_test.ts fix(node): implement v8 serialize and deserialize (#22975) 2024-03-18 13:48:55 +05:30
vm_test.ts fix(ext/node): promise rejection in VM contexts (#23305) 2024-04-13 17:02:07 +05:30
worker_threads_test.ts fix(ext/node): worker_threads copies env object (#23536) 2024-04-24 16:17:28 +00:00
zlib_test.ts chore: ignore flaky brotli test (#23020) 2024-03-21 17:01:11 +00:00