Free Online 3D Modeling, Rendering, Sharing and Models.
Join Clara.io's fast growing community of +100,000 creators!
Untitled Scene
by good123as
Untitled Scene
by good123as
kill code test('`forceKillAfterTimeout: number` should kill after a timeout', async t => { const subprocess = execa('node', ['./test/fixtures/no-killable'], {stdio: ['ipc']}); await pEvent(subprocess, 'message'); subprocess.kill('SIGTERM', {forceKillAfterTimeout: 50}); const {signal} = await t.throwsAsync(subprocess); t.is(signal, 'SIGKILL'); });
0 comments