o animations when subtree is false'
  );
  assert_equals(
    div.getAnimations({ subtree: true }).length,
    1,
    'Returns one animation when subtree is true'
  );
}, 'Returns animations on pseudo-elements when subtree: true is specified');

test(t => {
  const host = createDiv(t);
  const shadow = host.attachShadow({ mode: 'open' });

  const elem = createDiv(t);
  shadow.appendChild(elem);

  const elemChild = createDiv(t);
  elem.appendChild(elemChild);

  elemChild.animate(null, 100 * MS_PER_SEC);

