message: feat(ariakit-test-utils): Support calling `type` on non-input elements
diff: @@ -41,8 +41,7 @@ export async function type(
  // active element again.
  element = (getActiveElement(element) || element) as HTMLElement;
  - if (!isTextField(element)) return;
  -
  + if (isTextField(element)) {
  const input = element as TextField;
  const [start, end] = getSelectionRange(input);
  @@ -84,10 +83,11 @@ export async function type(
  });
  }
  }
  + }
  await sleep();
  - fireEvent.keyUp(input, { key, ...options });
  + fireEvent.keyUp(element, { key, ...options });
  await sleep();
  }
  