File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 106106 assert . equal ( el . $ . forward . $ . compose . objSubpathChanged . firstCall . args [ 0 ] . path , 'obj' ) ;
107107 assert . equal ( el . $ . forward . $ . compose . objSubpathChanged . firstCall . args [ 0 ] . value , nested . obj ) ;
108108 // x-pe uses async PropertiesChanged
109- Promise . resolve ( ) . then ( ( ) => {
109+ setTimeout ( ( ) => {
110110 assert . equal ( el . $ . pe . _propertiesChanged . callCount , 1 ) ;
111111 assert . equal ( el . $ . pe . _propertiesChanged . firstCall . args [ 1 ] . obj , nested . obj ) ;
112112 done ( ) ;
124124 assert . equal ( el . $ . forward . $ . compose . objSubpathChanged . firstCall . args [ 0 ] . path , 'obj' ) ;
125125 assert . equal ( el . $ . forward . $ . compose . objSubpathChanged . firstCall . args [ 0 ] . value , nested . obj ) ;
126126 // x-pe uses async PropertiesChanged
127- Promise . resolve ( ) . then ( ( ) => {
127+ setTimeout ( ( ) => {
128128 assert . equal ( el . $ . pe . _propertiesChanged . callCount , 1 ) ;
129129 assert . equal ( el . $ . pe . _propertiesChanged . firstCall . args [ 1 ] . obj , nested . obj ) ;
130130 done ( ) ;
142142 assert . equal ( el . $ . forward . $ . compose . objSubpathChanged . firstCall . args [ 0 ] . path , 'obj.value' ) ;
143143 assert . equal ( el . $ . forward . $ . compose . objSubpathChanged . firstCall . args [ 0 ] . value , 42 ) ;
144144 // x-pe uses async PropertiesChanged
145- Promise . resolve ( ) . then ( ( ) => {
145+ setTimeout ( ( ) => {
146146 // Note the PropertiesMixin element only sees a deep set to 'nested.obj.value'
147147 // because it overrides _shouldPropertyChange to allow object re-sets through
148148 assert . equal ( el . $ . pe . _propertiesChanged . callCount , 1 ) ;
You can’t perform that action at this time.
0 commit comments