@@ -116,14 +116,6 @@ describe('Data layer integration tests', () => {
116116
117117 const state = store . getState ( ) ;
118118 expect ( state . courseHome . courseStatus ) . toEqual ( 'loaded' ) ;
119- expect ( state ) . toEqual ( expect . objectContaining ( {
120- // The Xpert chatbot (frontend-lib-learning-assistant) generates a unique UUID
121- // to keep track of conversations. This UUID is generated on each run.
122- // Instead, we use an asymmetric matcher here.
123- learningAssistant : expect . objectContaining ( {
124- conversationId : expect . any ( String ) ,
125- } ) ,
126- } ) ) ;
127119 } ) ;
128120
129121 it . each ( [ 401 , 403 , 404 ] ) (
@@ -163,14 +155,6 @@ describe('Data layer integration tests', () => {
163155
164156 const state = store . getState ( ) ;
165157 expect ( state . courseHome . courseStatus ) . toEqual ( 'loaded' ) ;
166- expect ( state ) . toEqual ( expect . objectContaining ( {
167- // The Xpert chatbot (frontend-lib-learning-assistant) generates a unique UUID
168- // to keep track of conversations. This UUID is generated on each run.
169- // Instead, we use an asymmetric matcher here.
170- learningAssistant : expect . objectContaining ( {
171- conversationId : expect . any ( String ) ,
172- } ) ,
173- } ) ) ;
174158 } ) ;
175159
176160 it . each ( [ 401 , 403 , 404 ] ) (
@@ -211,14 +195,6 @@ describe('Data layer integration tests', () => {
211195
212196 const state = store . getState ( ) ;
213197 expect ( state . courseHome . courseStatus ) . toEqual ( 'loaded' ) ;
214- expect ( state ) . toEqual ( expect . objectContaining ( {
215- // The Xpert chatbot (frontend-lib-learning-assistant) generates a unique UUID
216- // to keep track of conversations. This UUID is generated on each run.
217- // Instead, we use an asymmetric matcher here.
218- learningAssistant : expect . objectContaining ( {
219- conversationId : expect . any ( String ) ,
220- } ) ,
221- } ) ) ;
222198 } ) ;
223199
224200 it ( 'Should handle the url including a targetUserId' , async ( ) => {
0 commit comments