@rind-ui/testing 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,7 +35,7 @@ var UntilTimeout = class extends Error {
35
35
  };
36
36
  /** Mirrors horizontal arrows for right-to-left runs; everything else is unchanged. */
37
37
  const mirror = (key, direction) => direction === "ltr" ? key : key === "ArrowLeft" ? "ArrowRight" : key === "ArrowRight" ? "ArrowLeft" : key;
38
- const describeBy = (by) => "role" in by ? `role "${by.role}"${by.name === void 0 ? "" : ` named ${JSON.stringify(String(by.name))}`}` : `text ${JSON.stringify(String(by.text))}`;
38
+ const describeBy = (by) => "role" in by ? `role "${by.role}"${by.name === void 0 ? "" : ` named ${JSON.stringify(String(by.name))}`}` : "part" in by ? `part "${by.part}"` : `text ${JSON.stringify(String(by.text))}`;
39
39
  //#endregion
40
40
  //#region src/adapters/compose.ts
41
41
  /**