Skip to content

Commit

Permalink
More? Of course there are
Browse files Browse the repository at this point in the history
  • Loading branch information
rccoleman authored Jan 26, 2025
1 parent ce30bf3 commit 58c9da5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/extensions/groups.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,11 @@ describe('Extension: Groups', () => {
settings.set(['groups'], {
1: {friendly_name: 'group_1', retain: false},
});

await mockMQTTEvents.message('zigbee2mqtt/group_1/set', stringify({state: 'ON'}));
await flushPromises();
mockMQTTPublishAsync.mockClear();

await mockMQTTEvents.message('zigbee2mqtt/bulb_color/set', stringify({state: 'OFF'}));
await mockMQTTEvents.message('zigbee2mqtt/wall_switch_double/set', stringify({state_left: 'OFF'}));
await flushPromises();
Expand Down

0 comments on commit 58c9da5

Please sign in to comment.