Complete the launch recipe worker test mock
This commit is contained in:
@@ -10,7 +10,7 @@ vi.mock('../../src/lib/server/integrations/rcon.js', () => ({
|
|||||||
rconStatusResult: vi.fn(async () => ({ ok: true, endpoint: { host: 'localhost', port: 28960 }, rawReply: '',
|
rconStatusResult: vi.fn(async () => ({ ok: true, endpoint: { host: 'localhost', port: 28960 }, rawReply: '',
|
||||||
status: { players: 0, map: 'zombie_theater', gametype: null, roster: [] } }))
|
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;
|
let fixture: Fixture;
|
||||||
const selection = { game: 't5' as const, mapSlug: 'theater' };
|
const selection = { game: 't5' as const, mapSlug: 'theater' };
|
||||||
|
|||||||
Reference in New Issue
Block a user