(async t => {
  const oldParent = document.createElement('div');
  const target = document.createElement('p');
  const newParent = document.createElement('div');
  // We must append `newParent` as well, since the origin and destination nodes
  // must share the same shadow-including root.
  oldParent.append(target, newParent);

  await runTest(oldParent, target, newParent);
}, "[Disconnected move] MutationObserver removal + insertion is tracked by moveBefore()");
</script>
