function finishSnackbarTest() {
      return new Promise(function(resolve) {
        // Let event queue finish.
        setTimeout(function() {
          expectEquals(0, $('snackbar-container').children.length);
          expectFalse(!!snackbar.Snackbar.current_);
          resolve();
        }, 50);
      });
    }
/**
     * Performs final checks for snackbar tests.
     * @return {!Promise} Promise is fulfilled when the checks finish.
     */
Performs final checks for snackbar tests.
@return {!Promise} Promise is fulfilled when the checks finish.
Performs final checks for snackbar tests . @return { !Promise } Promise is fulfilled when the checks finish .
function finishSnackbarTest() {
      return new Promise(function(resolve) {
        setTimeout(function() {
          expectEquals(0, $('snackbar-container').children.length);
          expectFalse(!!snackbar.Snackbar.current_);
          resolve();
        }, 50);
      });
    }
function finishSnackbarTest ( ) { return new Promise ( function ( resolve ) { setTimeout ( function ( ) { expectEquals ( 0 , $ ( 'snackbar-container' ) . children . length ) ; expectFalse ( ! ! snackbar . Snackbar . current_ ) ; resolve ( ) ; } , 50 ) ; } ) ; }
Performs final checks for snackbar tests.
Performs final checks for snackbar tests .
// Let event queue finish.