Remove Dead Ops Arcade support
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user