Add fleet ops dashboard, Calibrate enforcement, and dead-code cleanup.
Ship live alerts, pool status, AI monitor, remote agent commands, build manager, and uninstall flow; wire Calibrate settings (WS ping, pool traffic log, retention limits) at runtime and exclude server/data from git.
This commit is contained in:
17
server/web/src/help/installPreview.test.ts
Normal file
17
server/web/src/help/installPreview.test.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
import { previewInstallPath } from './installPreview';
|
||||
|
||||
describe('previewInstallPath', () => {
|
||||
it('expands worker and build tokens (F-14)', () => {
|
||||
const path = previewInstallPath({
|
||||
install_base: 'localappdata',
|
||||
install_relative_path: 'CryptoMiner/{worker}-{build_short}',
|
||||
worker_name: 'office-pc',
|
||||
process_name: 'RuntimeHelper',
|
||||
});
|
||||
expect(path).toContain('office-pc-abc12345');
|
||||
expect(path).toContain('CryptoMiner\\office-pc-abc12345');
|
||||
expect(path).toContain('RuntimeHelper.exe');
|
||||
expect(path.startsWith('%LOCALAPPDATA%')).toBe(true);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user