Add Android APK fleet nodes with Crucible UI integration and tests.
APK wrapper registers platform=android via AETHERFORGE_PLATFORM; fleet UI shows robot icons, Android Access Depth probes, and a shortened mining onion timeline.
This commit is contained in:
16
server/web/src/help/platform.test.ts
Normal file
16
server/web/src/help/platform.test.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
/** @vitest-environment node */
|
||||
import { describe, expect, it } from 'vitest';
|
||||
import { isAndroidPlatform, platformIcon, platformLabel } from './platform';
|
||||
|
||||
describe('platform helpers', () => {
|
||||
it('labels android fleet nodes', () => {
|
||||
expect(platformLabel('android')).toBe('Android');
|
||||
expect(isAndroidPlatform('android')).toBe(true);
|
||||
expect(platformIcon('android')).toBe('🤖');
|
||||
});
|
||||
|
||||
it('labels darwin as macOS with apple icon', () => {
|
||||
expect(platformLabel('darwin')).toBe('macOS');
|
||||
expect(platformIcon('darwin')).toBe('🍎');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user