license import '@material/mwc-list' ; import '@material/mwc-list/mwc-list-item' ; import { List } from '@material/mwc-list' ; import { ListItem } from '@material/mwc-list/mwc-list-item' ; import { html } from 'lit-html' ; import { measureFixtureCreation } from '../../util/helpers' ; const renderCheck = async ( root ) => { const list = root . firstElementChild as List ; const lastItem = list . lastElementChild as ListItem ; await lastItem . updateComplete ; await list . updateComplete ; } ; measureFixtureCreation ( html `
  <mwc-list activatable multi>
    <mwc-list-item></mwc-list-item>
    <mwc-list-item selected activated>Apple</mwc-list-item>
    <mwc-list-item>Banana</mwc-list-item>
    <mwc-list-item selected activated>Cucumber</mwc-list-item>
  </mwc-list>` , { renderCheck } ) ;