Open ygrandgirard opened 8 months ago
this can be implemented semi-easily in BunProcess.cpp
, where the spawn_sync binding contains an object with a spawn
function that points to a JS function that calls Bun.spawnSync, and remaps the output as node does. was going to add the good first issue tag but its not the most clear thing possible.
What version of Bun is running?
1.0.26
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
bun
project withbun init
,nyc
fromnpm
withbun add nyc
,index.ts
:index.spec.ts
:test('ok', () => { expect(ok()).toBe(true); });
What is the expected behavior?
Run
nyc
, and do whatever it is supposed to do.What do you see instead?
Additional information
An issue was filled for the same bug back in September. It was closed as completed by its author the same day for some reason.