Skip to content

Commit 5b5ba2c

Browse files
authored
fix throws formatting error in CI (#1192)
1 parent 3fee5c2 commit 5b5ba2c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

agents/src/ipc/proc_pool.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// SPDX-FileCopyrightText: 2026 LiveKit, Inc.
22
//
33
// SPDX-License-Identifier: Apache-2.0
4+
import { Throws } from '@livekit/throws-transformer/throws';
45
import { describe, expect, it, vi } from 'vitest';
56
import type { RunningJobInfo } from '../job.js';
67
import { type JobExecutor, JobStatus } from './job_executor.js';
@@ -22,7 +23,9 @@ function createMockExecutor() {
2223
}
2324

2425
describe('ProcPool warmed process lock handling', () => {
25-
it('releases lock token from the dequeued warmed process entry', async () => {
26+
it('releases lock token from the dequeued warmed process entry', async (): Promise<
27+
Throws<void, Error>
28+
> => {
2629
const pool = new ProcPool('agent', 1, 1000, 1000, undefined, 0, 0);
2730
const unlock = vi.fn();
2831
const executor = createMockExecutor();

0 commit comments

Comments
 (0)