Jarred Sumner
98f20170a3
Add more tests for Bun.spawn lifecycle and address edgecase ( #6904 )
...
* FIxup spawn ref / unref
* Fix test failures
* Add test for #3480
* windows
* 🪟
* Skip on linux
* Fix test
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-11-05 00:00:19 -07:00
Ciro Spaciari
4e0c589562
fix(child_process) unref next tick so exit/close event can be fired before application exits ( #5481 )
...
* unref next tick so exit callback can be called
* fmt + test
* oops
* add ref_count
* update pending
* comment and fix
2023-09-16 22:44:13 -07:00
dave caruso
36e5a072a9
revert ( #4539 )
...
* Revert "remove native events from streams"
This reverts commit e063a47a53 .
* finish revert
* remove accidental submodule
* dfghj
2023-09-07 07:45:00 -07:00
Ai Hoshino
efe987e8d1
Fix some edge cases in the env param of spawn. ( #4364 )
...
Close : #4362
2023-08-27 23:58:31 -07:00
Jarred Sumner
e636f1b026
skip flay test
2023-07-30 08:26:41 -07:00
Jarred Sumner
97009a49bd
Mark broken test as todo
2023-07-28 16:59:46 -07:00
Jarred Sumner
0a4e476a7c
mark tests as todo
2023-07-28 16:24:22 -07:00
Vlad Sirenko
9078b1286d
add fork to child_process ( #3851 )
...
* add fork to child_process
* fix export
* add test to child_process method `fork`
* fmt fork
* remove only from test
2023-07-28 16:00:43 -07:00
Jarred Sumner
f3153fbee9
Uncomment test
2023-07-27 20:46:25 -07:00
dave caruso
cfd73cec81
fixes with hardcoded modules ( #3182 )
...
* fixes with hardcoded modules
* add make hardcoded to make dev
* adjust this message
* remove debugging logs
* this
* restore2
2023-06-02 21:36:05 -07:00
dave caruso
4df1d37ddc
Bundle and minify .exports.js files. ( #3036 )
...
* move all exports.js into src/js
* finalize the sort of this
* and it works
* add test.ts to gitignore
* okay
* convert some to ts just to show
* finish up
* fixup makefile
* minify syntax in dev
* finish rebase
* dont minify all modules
* merge
* finish rebase merge
* flaky test that hangs
2023-06-01 18:16:47 -07:00
dave caruso
4378ef8e97
mark currently known test fails as .todo ( #3052 )
...
* start this
* commit
* mark all failing tests as todo
* fasdfad
* bundler tests
* tests
* adjust failing tests to todo
* comment out some more tests
* png as test
2023-06-01 14:37:35 -07:00
Jarred Sumner
457f325773
slightly clean up this test
2023-05-31 23:18:58 -07:00
Dylan Conway
02cad591f8
fix child process tests ( #2584 )
...
* always handle exit on next tick
* emit spawn immediately
2023-05-11 14:39:44 -07:00
dave caruso
f788519263
bun-types: infer strict Subprocess from Bun.spawn() options, part 2 ( #2573 )
2023-04-06 13:59:06 -07:00
Colin McDonnell
a5f92224b5
Fix types ( #2453 )
...
* 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-22 15:01:01 -07:00
Jarred Sumner
7baaf2065a
Update child_process-node.test.js
2023-03-14 18:07:58 -07:00
Ashcon Partovi
f7e4eb8369
Reorganize tests ( #2332 )
2023-03-07 12:22:34 -08:00