File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ describe('Chat', () => {
3333 ` ;
3434
3535 const textAreaActionsTemplate = ( ) => html `
36- < div >
36+ < div class =" custom-actions " >
3737 < igc-button > Upload</ igc-button >
3838 < igc-button > Send</ igc-button >
3939 </ div >
@@ -591,10 +591,9 @@ describe('Chat', () => {
591591
592592 expect ( sendButton ) . to . be . null ;
593593 expect ( fileInput ) . to . be . null ;
594- var buttons = inputArea . renderRoot . querySelectorAll (
595- 'igc-button[variant="contained"]'
596- ) ;
597- expect ( buttons . length ) . to . equal ( 2 ) ;
594+ var customActions =
595+ inputArea . renderRoot . querySelector ( 'div.custom-actions' ) ;
596+ expect ( customActions ) . not . to . be . null ;
598597 } ) ;
599598
600599 it ( 'should render messageHeader template' , async ( ) => {
@@ -901,7 +900,7 @@ describe('Chat', () => {
901900 isTyping : true ,
902901 } ) ;
903902
904- clock . tick ( 3000 ) ;
903+ clock . tick ( 3001 ) ;
905904 await elementUpdated ( chat ) ;
906905
907906 expect ( eventSpy ) . calledWith ( 'igcTypingChange' ) ;
You can’t perform that action at this time.
0 commit comments