function replaceApp() {
  const app = document.createElement('history-app');
  app.id = 'history-app';
  // Disable querying for tests by default.
  app.queryState_.queryingDisabled = true;
  replaceBody(app);
  Polymer.dom.flush();
  return app;
}
/**
 * Replace the document body with a new instance of <history-app>.
 * @return {HistoryAppElement} The app which was created.
 */
Replace the document body with a new instance of .
@return {HistoryAppElement} The app which was created.
Replace the document body with a new instance of . @return { HistoryAppElement } The app which was created .
function replaceApp() {
  const app = document.createElement('history-app');
  app.id = 'history-app';
  app.queryState_.queryingDisabled = true;
  replaceBody(app);
  Polymer.dom.flush();
  return app;
}
function replaceApp ( ) { const app = document . createElement ( 'history-app' ) ; app . id = 'history-app' ; app . queryState_ . queryingDisabled = true ; replaceBody ( app ) ; Polymer . dom . flush ( ) ; return app ; }
Replace the document body with a new instance of <history-app>.
Replace the document body with a new instance of <history - app > .
// Disable querying for tests by default.