'use strict';

const test = require('node:test');
const assert = require('node:assert/strict');
const { CUTOS_DASHBOARD_PORT, getDashboardInfo } = require('../lib/frpc');

test('CutOS Agent dashboard uses the fixed local console port without a token', async () => {
  assert.equal(CUTOS_DASHBOARD_PORT, 30141);
  assert.deepEqual(await getDashboardInfo('cutos-agent'), { dashboard_port: 30141 });
});
