only sigint test runner

This commit is contained in:
Simon Knott 2024-11-06 13:57:37 +01:00
parent 093df3ad1a
commit 9480b7cdfd
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -773,7 +773,7 @@ test('should gracefully kill server', async ({ interactWithTestRunner }, { worke
}, { workers: 1 });
await testProcess.waitForOutput('webserver started');
process.kill(-testProcess.process.pid!, 'SIGINT');
process.kill(testProcess.process.pid!, 'SIGINT');
await testProcess.exited;
expect(testProcess.outputLines({ prefix: '[WebServer] ' })).toEqual(['webserver received SIGINT but stubbornly refuses to wind down']);