@@ -10,7 +10,7 @@ const {
1010 createAdmin,
1111 sleep,
1212} = require ( '../testhelpers' ) ;
13- const { ConsumerGroupStates, ErrorCodes, AclOperationTypes } = require ( '../../../lib' ) . KafkaJS ;
13+ const { ConsumerGroupStates, ConsumerGroupTypes , ErrorCodes, AclOperationTypes } = require ( '../../../lib' ) . KafkaJS ;
1414
1515describe ( 'Admin > describeGroups' , ( ) => {
1616 let topicName , groupId , consumer , admin , groupInstanceId , producer ;
@@ -90,6 +90,7 @@ describe('Admin > describeGroups', () => {
9090 isSimpleConsumerGroup : false ,
9191 protocolType : 'consumer' ,
9292 state : ConsumerGroupStates . STABLE ,
93+ type : ConsumerGroupTypes . CLASSIC ,
9394 coordinator : expect . objectContaining ( {
9495 id : expect . any ( Number ) ,
9596 host : expect . any ( String ) ,
@@ -141,6 +142,7 @@ describe('Admin > describeGroups', () => {
141142 protocol : expect . any ( String ) ,
142143 partitionAssignor : expect . any ( String ) ,
143144 state : ConsumerGroupStates . EMPTY ,
145+ type : ConsumerGroupTypes . CLASSIC ,
144146 protocolType : 'consumer' ,
145147 isSimpleConsumerGroup : false ,
146148 coordinator : expect . objectContaining ( {
0 commit comments