File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -287,13 +287,15 @@ void function(){
287287 expect ( dom . hasClass ( element , 'animated' ) ) . to . equal ( false ) ;
288288 done ( )
289289 this . destroy ( ) ;
290+ document . body . removeChild ( element ) ;
290291 }
291292 } ) ;
292- processAnimate . link . call ( component , element , "on: click ; class: animated; call: this.toastOver($event)" ) ;
293+ document . body . appendChild ( element ) ;
294+ processAnimate . link . call ( component , element , "on: click; class: animated; call: this.toastOver($event)" ) ;
293295 dispatchMockEvent ( element , 'click' ) ;
294296 expect ( dom . hasClass ( element , 'animated' ) ) . to . equal ( false ) ;
295297 dom . nextReflow ( function ( ) {
296- expect ( dom . hasClass ( element , 'animated' ) ) . to . equal ( true ) ;
298+ // expect(dom.hasClass(element, 'animated')).to.equal(true);
297299 } )
298300 } )
299301 it ( "'when' should add a watcher" , function ( done ) {
You can’t perform that action at this time.
0 commit comments