aboutsummaryrefslogtreecommitdiff
path: root/test/js/node/net/node-net.test.ts (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-09-29add Socket.prototype; lol (#5945)Gravatar dave caruso 1-0/+7
2023-09-14fix(runtime): emit `node:net` connect error event vs throw (#5336)Gravatar dave caruso 1-1/+29
* fix(runtime): emit `node:net` connect error event vs throw * oops * finally * ok * we are good
2023-09-05fix(node:net): emit close event on connection error (#4336)Gravatar dave caruso 1-3/+18
* emit close event on connection error * re-review * add test
2023-05-28[node:net] fix createConnection options passing (#3101)Gravatar Ciro Spaciari 1-1/+26
* fixup createConnection * fix comment * fixup comment * also fix it on tls
2023-03-22Fix types (#2453)Gravatar Colin McDonnell 1-40/+40
* WIP * WIP * WIP * WIP * Improve typechecking in type files * Fix typechecking * Update * Update submodule * CI for typechecking * Add ci * Update commands * Format after build * Dont use bunx * Rename job * Use nodemodules prettier * Update workflow * Use symlink * Debug * Debug * Clean up and rename jobs
2023-03-19Remove usages of port numbers in testsGravatar Jarred Sumner 1-2/+2
2023-03-13feat(net.createServer) and adds socket.connect IPC support (#2337)Gravatar Ciro Spaciari 1-18/+95
* added net.Server * fix fmt * fix cast and move test * fix node-net.tests.ts but breaks server data receive * fix end and close only emitting when data or pipe was added * fix socket starting paused * add echo test * fix fmt * fix fmt * on close if the socket is paused, keep paused until the user resumes it to match node behavior * resume on connect * fix getConnections, error on close, make _Handler private and create symbols for SocketServerHandlers * add path support (IPC) * fix unix domains support, add connect unix tests * fix unix socket tests * emit listening and listening error on next tick * fix connection flask test * try fix connect error on macos test * merge connection and drop tests * added exclusive option * fix socket.zig fmt * fix validation for options and add test for it * pass prettier fmt
2023-03-07Reorganize tests (#2332)Gravatar Ashcon Partovi 1-0/+268