Skip to content

Commit dbd030e

Browse files
committed
test(cli): a timed-out FFmpeg reads as the timeout, not its kill signal
1 parent c4e98f2 commit dbd030e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎packages/cli/src/browser/preflight.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ describe("runEnvironmentChecks", () => {
174174
{ error: { code: "ENOENT" }, said: "(ENOENT)" },
175175
{ error: { code: "EACCES" }, said: "(EACCES)" },
176176
{ error: { signal: "SIGKILL" }, said: "(signal SIGKILL)" },
177+
{ error: { code: "ETIMEDOUT", signal: "SIGTERM" }, said: "(ETIMEDOUT)" },
177178
])("names how FFmpeg failed to start: $said", async ({ error, said }) => {
178179
runProcess.mockImplementation((binaryPath: string) => {
179180
if (binaryPath !== process.env.HYPERFRAMES_FFMPEG_PATH)

0 commit comments

Comments
 (0)