File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,9 @@ describe('Reconnect', () => {
5757 // Check that the Angular element was bound to properties too
5858 const testEl = testContainer . querySelector < Element & ReconnectTestComponentEl > ( 'reconnect-el' ) ! ;
5959 testEl . testProp = 'b' ;
60+ // Wait change to be propagated
61+ await tick ( 10 ) ;
6062 expect ( testContainer . querySelector ( '.test-prop-outlet' ) ! . textContent ) . toBe ( 'b' ) ;
61-
6263 // Now detach the element from the container
6364 testContainer . removeChild ( testEl ) ;
6465 // Wait for detach timer
@@ -92,6 +93,8 @@ describe('Reconnect', () => {
9293 // Check that the Angular element was bound to properties too
9394 const testEl = testContainer . querySelector < Element & ReconnectTestComponentEl > ( 'reconnect-el' ) ! ;
9495 testEl . testProp = 'b' ;
96+ // Wait change to be propagated
97+ await tick ( 10 ) ;
9598 expect ( testContainer . querySelector ( '.test-prop-outlet' ) ! . textContent ) . toBe ( 'b' ) ;
9699
97100 // Now detach the root from the DOM
You can’t perform that action at this time.
0 commit comments