@@ -159,9 +159,18 @@ test(
159159 expect ( zigbeeEndpointConfigGen ) . toContain (
160160 '#define GENERATED_MULTI_PROTOCOL_ATTRIBUTE_MAPPING'
161161 )
162- expect ( zigbeeEndpointConfigGen ) . toContain ( '{ 6, 0, 6, 0, 0, 0, 0, 0 },' )
163- expect ( zigbeeEndpointConfigGen ) . toContain ( '{ 8, 0, 8, 0, 0, 0, 0, 0 },' )
164- expect ( zigbeeEndpointConfigGen ) . toContain ( '{ 8, 0, 8, 0, 1, 0, 1, 0 },' )
162+ expect ( zigbeeEndpointConfigGen ) . toContain (
163+ '{ 6, 0, 6, 0, 0, 0, 16, 0, 0, 16 },'
164+ )
165+ expect ( zigbeeEndpointConfigGen ) . toContain (
166+ '{ 8, 0, 8, 0, 0, 0, 32, 0, 0, 32 },'
167+ )
168+ expect ( zigbeeEndpointConfigGen ) . toContain (
169+ '{ 8, 0, 8, 0, 1, 0, 33, 1, 0, 33 },'
170+ )
171+ expect ( zigbeeEndpointConfigGen ) . toContain (
172+ '{ 6, 0, 6, 0, 16387, 0, 48, 16387, 0, 48 },'
173+ )
165174
166175 // Notifications test when opening multi-protocol zap file
167176 let sessionNotifications = await querySessionNotice . getNotification (
@@ -220,7 +229,7 @@ test(
220229 let importRes = await importJs . importDataFromFile (
221230 db ,
222231 multiProtocolTestFile ,
223- { sessionId : null } ,
232+ { sessionId : null }
224233 )
225234
226235 // Get all session attributes
@@ -242,14 +251,14 @@ test(
242251 // Check both of them are the same
243252 expect ( parseInt ( zigbeeEndpointTypeAttribute . defaultValue ) ) . toEqual ( 0 )
244253 expect ( parseInt ( zigbeeEndpointTypeAttribute . defaultValue ) ) . toEqual (
245- parseInt ( matterEndpointTypeAttribute . defaultValue ) ,
254+ parseInt ( matterEndpointTypeAttribute . defaultValue )
246255 )
247256
248257 // Change zigbee ETA and check for the change in the corresponding Matter ETA.
249258 await queryConfig . updateEndpointTypeAttribute (
250259 db ,
251260 zigbeeEndpointTypeAttribute . endpointTypeAttributeId ,
252- [ [ 'defaultValue' , 1 ] ] ,
261+ [ [ 'defaultValue' , 1 ] ]
253262 )
254263 let allEndpointTypeAttributesAfterChange =
255264 await queryConfig . selectAllSessionAttributes ( db , importRes . sessionId )
@@ -263,7 +272,7 @@ test(
263272 }
264273 expect ( parseInt ( zigbeeEndpointTypeAttribute . defaultValue ) ) . toEqual ( 1 )
265274 expect ( parseInt ( zigbeeEndpointTypeAttribute . defaultValue ) ) . toEqual (
266- parseInt ( matterEndpointTypeAttribute . defaultValue ) ,
275+ parseInt ( matterEndpointTypeAttribute . defaultValue )
267276 )
268277
269278 // Negative test: Check that none of the other Endpoint Type Attribute values are not changed. Only the ones intended i.e. on/off
@@ -273,7 +282,7 @@ test(
273282 allEndpointTypeAttributes [ i ] . name . toLowerCase ( ) != 'onoff'
274283 ) {
275284 expect ( allEndpointTypeAttributes [ i ] . defaultValue ) . toEqual (
276- allEndpointTypeAttributesAfterChange [ i ] . defaultValue ,
285+ allEndpointTypeAttributesAfterChange [ i ] . defaultValue
277286 )
278287 }
279288 }
@@ -282,7 +291,7 @@ test(
282291 await queryConfig . updateEndpointTypeAttribute (
283292 db ,
284293 matterEndpointTypeAttribute . endpointTypeAttributeId ,
285- [ [ 'defaultValue' , 0 ] ] ,
294+ [ [ 'defaultValue' , 0 ] ]
286295 )
287296 allEndpointTypeAttributesAfterChange =
288297 await queryConfig . selectAllSessionAttributes ( db , importRes . sessionId )
@@ -296,8 +305,8 @@ test(
296305 }
297306 expect ( parseInt ( matterEndpointTypeAttribute . defaultValue ) ) . toEqual ( 0 )
298307 expect ( parseInt ( matterEndpointTypeAttribute . defaultValue ) ) . toEqual (
299- parseInt ( zigbeeEndpointTypeAttribute . defaultValue ) ,
308+ parseInt ( zigbeeEndpointTypeAttribute . defaultValue )
300309 )
301310 } ,
302- testUtil . timeout . long ( ) ,
311+ testUtil . timeout . long ( )
303312)
0 commit comments