Skip to content

Commit

Permalink
fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
danyinhao committed Feb 11, 2025
1 parent e881e83 commit 36b50e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/adapter/z-stack/adapter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3507,7 +3507,7 @@ describe('zstack-adapter', () => {
mockZnpRequest.mockClear();
mockQueueExecute.mockClear();
const result = await adapter.getNetworkParameters();
expect(mockZnpRequest).toHaveBeenCalledTimes(3);
expect(mockZnpRequest).toHaveBeenCalledTimes(1);
expect(mockZnpRequest).toHaveBeenCalledWith(Subsystem.ZDO, 'extNwkInfo', {});
expect(result).toStrictEqual({channel: 21, extendedPanID: '0x00124b0009d69f77', panID: 123, nwkUpdateID: 0});
});
Expand Down

0 comments on commit 36b50e0

Please sign in to comment.