Clean up inline test/demo code in specificClass files #30

Open
opened 2026-03-12 08:37:04 +00:00 by vps1_gitea_admin · 0 comments

Several specificClass files have test/demo code after module.exports:

  • pumpingStation/src/specificClass.js (lines 478-697): Demo code guarded with require.main === module — acceptable but could move to test/ or examples/
  • machineGroupControl/src/specificClass.js (lines 969-1158): Block-commented test code with makeMachines() — dead code, could be removed or moved to test file
Several specificClass files have test/demo code after `module.exports`: - **pumpingStation/src/specificClass.js** (lines 478-697): Demo code guarded with `require.main === module` — acceptable but could move to `test/` or `examples/` - **machineGroupControl/src/specificClass.js** (lines 969-1158): Block-commented test code with `makeMachines()` — dead code, could be removed or moved to test file
Sign in to join this conversation.