Unverified Commit cd982d50 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub
parent aef04a98
...@@ -292,7 +292,7 @@ describe('CLI Usage', () => { ...@@ -292,7 +292,7 @@ describe('CLI Usage', () => {
test('should exit when SIGINT is signalled', async () => { test('should exit when SIGINT is signalled', async () => {
const killSigint = (instance) => const killSigint = (instance) =>
setTimeout(() => instance.kill('SIGINT'), 1000) setTimeout(() => instance.kill('SIGINT'), 2000)
const port = await findPort() const port = await findPort()
const { code, signal } = await runNextCommand(['dev', dir, '-p', port], { const { code, signal } = await runNextCommand(['dev', dir, '-p', port], {
ignoreFail: true, ignoreFail: true,
...@@ -307,7 +307,7 @@ describe('CLI Usage', () => { ...@@ -307,7 +307,7 @@ describe('CLI Usage', () => {
}) })
test('should exit when SIGTERM is signalled', async () => { test('should exit when SIGTERM is signalled', async () => {
const killSigterm = (instance) => const killSigterm = (instance) =>
setTimeout(() => instance.kill('SIGTERM'), 1000) setTimeout(() => instance.kill('SIGTERM'), 2000)
const port = await findPort() const port = await findPort()
const { code, signal } = await runNextCommand(['dev', dir, '-p', port], { const { code, signal } = await runNextCommand(['dev', dir, '-p', port], {
ignoreFail: true, ignoreFail: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment