yeg
2026-09-04 2b1c3345a3fd8e74033e09cfc4523c074922744c
更新设备模拟器回归测试路径
1个文件已修改
2 ■■■■■ 已修改文件
tests/test-ticket23-console-step-regression.test.mjs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
tests/test-ticket23-console-step-regression.test.mjs
@@ -40,6 +40,6 @@
assert.match(dataList, /physicalIds/)
assert.match(dataList, /props\.receptionStatus === 'NOT_STARTED'/)
assert.match(liveService, /simulator\.btsTest\(battery\.getBinding\(\)\.getDevid\(\), battery\.getBinding\(\)\.getChlid\(\), 1\)/)
assert.match(await readFile(new URL('../../BatteryDetection/ruoyi-device/src/main/java/com/ruoyi/device/bts/BtsDevelopmentSimulator.java', import.meta.url), 'utf8'), /Integer cyclePosition/)
assert.match(await readFile(new URL('../../BatteryDetection/battery-device-simulator/src/main/java/com/battery/device/simulator/BtsDevelopmentSimulator.java', import.meta.url), 'utf8'), /Integer cyclePosition/)
console.log('Ticket23 实时工步方案与数据列表工步映射回归契约通过')