Commit Graph

9295 Commits

Author SHA1 Message Date
Jarred Sumner
abdedcb29a Fix a bunch of things 2024-03-07 02:33:24 -08:00
Jarred Sumner
7a26d18968 This was a mistake 2024-03-07 02:28:31 -08:00
Jarred Sumner
a74c44ba96 Handle EPipe and avoid big data 2024-03-07 02:28:23 -08:00
Jarred Sumner
d2968eeb80 Parallelize this test 2024-03-07 02:28:06 -08:00
Jarred Sumner
4235e2f058 Fix readSocket 2024-03-07 00:59:10 -08:00
Jarred Sumner
5027877714 Make this test better 2024-03-07 00:58:58 -08:00
Jarred Sumner
0f48e4adb1 zero init some things 2024-03-07 00:52:40 -08:00
Jarred Sumner
7ca1139cec Make the logs better 2024-03-07 00:52:30 -08:00
Jarred Sumner
b2cc1a9039 Fix this test 2024-03-06 21:01:21 -08:00
Jarred Sumner
12ed874f8c Make this test not hang in development 2024-03-06 21:00:42 -08:00
Jarred Sumner
3e5f6b1a8b Move this to the harness 2024-03-06 21:00:06 -08:00
Jarred Sumner
bdc94aac34 Make the checks for if the body is already used more resilient 2024-03-06 20:59:53 -08:00
Jarred Sumner
7cd350718e Update serve.test.ts 2024-03-06 19:49:36 -08:00
Jarred Sumner
e067d99d02 Won't really fix it but slightly cleaner 2024-03-06 19:45:01 -08:00
Jarred Sumner
2236f15890 Make these comparisons easier 2024-03-06 19:45:01 -08:00
Jarred Sumner
2f766197da Deflake this test 2024-03-06 19:45:01 -08:00
Jarred Sumner
20bb1c2bca Fix a test 2024-03-06 19:45:01 -08:00
dave caruso
0584306589 fix reading special files 2024-03-06 18:22:24 -08:00
Jarred Sumner
f601c39020 Update child_process.test.ts 2024-03-06 17:42:58 -08:00
Jarred Sumner
2c0e8c99a9 Merge branch 'main' into jarred/process-change 2024-03-06 17:39:48 -08:00
cirospaciari
0f223cb72c always run expect 2024-03-06 21:42:43 -03:00
cirospaciari
eac17653a6 fix unconsumedPromises on events 2024-03-06 21:31:11 -03:00
Jarred Sumner
dd920dadb8 Shorten title 2024-03-06 15:34:18 -08:00
cirospaciari
28e2fd7521 fix leak, fix done 2024-03-06 20:33:23 -03:00
Jarred Sumner
f6d5325daa Support socketPath in node:http request (#9284)
* Support `socketPath` in node:http request

* fix dashes

---------

Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Co-authored-by: dave caruso <me@paperdave.net>
2024-03-06 15:28:35 -08:00
cirospaciari
ce82aeccc6 oops 2024-03-06 19:43:02 -03:00
cirospaciari
dd50fe5347 cleanup 2024-03-06 19:37:43 -03:00
cirospaciari
b113490a7d some fixes 2024-03-06 19:36:03 -03:00
Jarred Sumner
a66926243d Support unix domain sockets in fetch() (#9097)
* Support unix domain sockets in fetch()

* rename to 'socket' to 'unix', add test

* enable keepalive on unix socket fetch

* make ownership of unix_socket_path clear, refactor http.zig a bit

* [autofix.ci] apply automated fixes

* add fetch unix redirect test, fix crash

* [autofix.ci] apply automated fixes

* fix fetch redirect from unix to non-unix

* disable keepalive for unix sockets (for now) so we don't leak them

* Update test/js/web/fetch/fetch.unix.test.ts

Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com>

---------

Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Co-authored-by: Georgijs Vilums <georgijs@bun.sh>
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com>
2024-03-06 14:12:03 -08:00
Zack Radisic
335c957a4f initialize env map with capacity 2024-03-06 12:39:03 -06:00
cirospaciari
f280a69c50 make it compile again cc @zackradisic 2024-03-06 15:28:24 -03:00
Kyle Scully
440cee1755 refactor: remove unnecessary spread (#9137) 2024-03-06 09:00:29 -08:00
マルコメ
9b4a74715b docs: update test matchers on jest compatibility (#9272) 2024-03-06 00:11:29 -08:00
Zack Radisic
7c7d5f0e16 shell: bring back redirect stdin 2024-03-06 01:39:28 -06:00
Meghan Denny
8fc08752e5 node:http: emit 'socket' event after calling http.request() (#9270)
* node:http: emit 'socket' event after calling http.request()

* add reference links for why this is how it is

* add guards to not waste time

* add a regression test

* use test harness port number
2024-03-05 23:01:32 -08:00
Jarred Sumner
746b3f7398 Bring back test concurrency 2024-03-05 22:47:13 -08:00
Jarred Sumner
0eadf40ab4 Add some assertions 2024-03-05 22:47:13 -08:00
Jarred Sumner
09e7aaa17d Fixups 2024-03-05 22:47:13 -08:00
Jarred Sumner
b9ceca7e30 fixups 2024-03-05 22:47:13 -08:00
Jarred Sumner
b8a2ef88f1 Merge branch 'main' into jarred/process-change 2024-03-05 20:17:53 -08:00
Meghan Denny
bb3295ba84 node:url implement domainToASCII and domainToUnicode (#9257)
* node:url implement domainToASCII and domainToUnicode

* fix arg checks

* remove unneeded use of WTF::Vector

* tidy

* throw a js error if icu fails

* add a ton more tests, fix ascii guard, upconvert latin1

* even more tests

* add a comment for this guard

* use ASSERT_NOT_REACHED() instead of raise(SIGABRT)
2024-03-05 19:46:38 -08:00
Jarred Sumner
f64b1cf4c8 Print which test is taking awhile in the runner 2024-03-05 19:25:00 -08:00
Jarred Sumner
76ed3256cf Make this test less flaky on windows 2024-03-05 19:24:21 -08:00
Jarred Sumner
4ce5506463 Make this test less flaky on windows 2024-03-05 19:23:47 -08:00
Ashcon Partovi
c837903e4e Fix new Request("/") not working with node-fetch (#9246)
* Fix `new Request("/")` not working with `node-fetch`

* Address review

* Address review 2

* Fix bad test
2024-03-05 16:51:52 -08:00
Jarred Sumner
fed091f361 Log the test name 2024-03-05 16:36:02 -08:00
Ryan Dsouza
b55e62b634 Update cache.md (#9260)
Specify `bunfig.toml` to make it easy to check where this option needs to be added.
2024-03-05 16:28:08 -08:00
Cameron Haley
2b8fc7a9a8 Running absolute/relative path shouldn't rely on the existence of package.json script (#9265) 2024-03-05 16:27:57 -08:00
Jarred Sumner
edeeffc74c Fixes #9263 (#9266)
* Fixes #9283

* Update URLSearchParams.test.ts

---------

Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2024-03-05 16:27:33 -08:00
Jarred Sumner
c5f6f26e5b Don't commit 2024-03-05 15:34:01 -08:00