Remove Dead Ops Arcade support

This commit is contained in:
2026-10-07 15:44:19 -04:00
parent db92c89b05
commit c9a604303d
6 changed files with 25 additions and 5 deletions
+7
View File
@@ -1,6 +1,7 @@
import { describe, expect, it } from 'vitest';
import {
parseServerName,
selectedZombieMap,
t5ZombieMapBySlug,
T5_ZOMBIE_MAPS,
T6_ZOMBIE_MAPS
@@ -98,6 +99,12 @@ describe('parseServerName (new naming: t5_<mode>_<slug>_<n>)', () => {
});
describe('t5ZombieMapBySlug', () => {
it('excludes Dead Ops Arcade from supported map selection', () => {
expect(t5ZombieMapBySlug('zombietron')).toBeUndefined();
expect(selectedZombieMap('t5', 'zombietron')).toBeUndefined();
expect(parseServerName('t5_zombie_zombietron_1')?.mapCanonical).toBeNull();
});
it('resolves each catalog slug to its canonical + friendly', () => {
for (const entry of T5_ZOMBIE_MAPS) {
const found = t5ZombieMapBySlug(entry.slug);