ns from child'
  );
  assert_array_equals(
    divGrandChildA.getAnimations({ subtree: true }),
    [animGrandChildA],
    'Returns expected animations from grandchild A'
  );
}, 'Returns animations on descendants when subtree: true is specified');

test(t => {
  createStyle(t, {
    '@keyframes anim': '',
    [`.pseudo::before`]: 'animation: anim 100s; ' + "content: '';",
  });
  const div = createDiv(t);
  div.classList.add('pseudo');

  assert_equals(
    div.getAnimations().length,
    0,
    'Returns n