收敛 INI 面板状态 API namespace

This commit is contained in:
2026-06-14 22:23:02 +08:00
parent 25268404cb
commit a1c34e454e
5 changed files with 105 additions and 6 deletions

View File

@@ -330,4 +330,15 @@ assert.deepEqual(
},
);
assert.deepEqual(
{
getMachineSessionStateReport: typeof globalThis.window?.linuxCncIniPanelApi?.getMachineSessionStateReport,
getMachineSessionStateReportExport: typeof globalThis.window?.linuxCncIniPanelApi?.getMachineSessionStateReportExport,
},
{
getMachineSessionStateReport: "undefined",
getMachineSessionStateReportExport: "undefined",
},
);
console.log("ini_panel_state_summary_node_smoke=ok");