project-chip / matter.js

A complete typescript implementation of the Matter protocol specification (https://buildwithmatter.com). Includes full support for controller, device, commissioning, secure communications, device types, and cluster definitions.
Apache License 2.0
328 stars 57 forks source link

Dynamically configure Switch Simulator and no Debouncing #1101

Closed Apollon77 closed 4 weeks ago

Apollon77 commented 4 weeks ago

The change is automatically configuring the switch endpoint according to the test expectations. Additionally, it do not uses debouncing (because not configured too).

The PR will prepare for a chip testing change where timings of the test are changed ... so it configures the test dynamically to the relevant timings

semanticdiff-com[bot] commented 4 weeks ago

Review changes with SemanticDiff.

Analyzed 2 of 2 files.

Overall, the semantic diff is 1% smaller than the GitHub diff.

Filename Status
:heavy_check_mark: chip-testing/src/NamedPipeCommandHandler.ts 10.09% smaller
:heavy_check_mark: chip-testing/src/simulators/SwitchSimulator.ts 0.3% smaller