From 8f8897b86b71de67694bc08b94deb1a41dd76e52 Mon Sep 17 00:00:00 2001 From: Josh Wright Date: Tue, 6 Oct 2026 14:55:20 -0400 Subject: [PATCH] Complete the launch recipe worker test mock --- tests/unit/launch-recipes.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/launch-recipes.test.ts b/tests/unit/launch-recipes.test.ts index d15ce7b..3328f3d 100644 --- a/tests/unit/launch-recipes.test.ts +++ b/tests/unit/launch-recipes.test.ts @@ -10,7 +10,7 @@ vi.mock('../../src/lib/server/integrations/rcon.js', () => ({ rconStatusResult: vi.fn(async () => ({ ok: true, endpoint: { host: 'localhost', port: 28960 }, rawReply: '', status: { players: 0, map: 'zombie_theater', gametype: null, roster: [] } })) })); -vi.mock('../../src/lib/server/pipeline/worker.js', () => ({ kick: vi.fn(async () => {}) })); +vi.mock('../../src/lib/server/pipeline/worker.js', () => ({ kick: vi.fn(async () => {}), kickProvisioning: vi.fn(async () => {}) })); let fixture: Fixture; const selection = { game: 't5' as const, mapSlug: 'theater' };