feat: alive UI wave, galaxy presence, spread and fleet enhancements
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Dashboard ambient layer, comrade presence, Mission Deck and War Room, Emberwake supply chain, spread/docs publishing, fleet policy and modules API, CI docker mining, and refreshed USB pack.
This commit is contained in:
14
server/web/src/help/presencePages.test.ts
Normal file
14
server/web/src/help/presencePages.test.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
import { presenceActivityLine, presencePageLabel } from './presencePages';
|
||||
|
||||
describe('presencePages', () => {
|
||||
it('maps known routes to war-room labels', () => {
|
||||
expect(presencePageLabel('/crucible')).toBe('Crucible');
|
||||
expect(presencePageLabel('/emberwake')).toBe('Emberwake');
|
||||
expect(presencePageLabel('forge')).toBe('Forge');
|
||||
});
|
||||
|
||||
it('formats activity line for status bar', () => {
|
||||
expect(presenceActivityLine('india', '/crucible')).toBe('india is in Crucible');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user