executable-stories-react 0.19.0 → 0.20.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.
- package/dist/index.cjs +25 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +40 -15
- package/dist/index.js.map +1 -1
- package/dist/interactive.cjs +17 -0
- package/dist/interactive.cjs.map +1 -1
- package/dist/interactive.js +43 -26
- package/dist/interactive.js.map +1 -1
- package/dist/parse.cjs +8 -0
- package/dist/parse.cjs.map +1 -1
- package/dist/parse.js +8 -0
- package/dist/parse.js.map +1 -1
- package/dist/report-island.global.js +15 -14
- package/dist/ssr.cjs +17 -0
- package/dist/ssr.cjs.map +1 -1
- package/dist/ssr.js +30 -13
- package/dist/ssr.js.map +1 -1
- package/package.json +2 -2
package/dist/ssr.cjs
CHANGED
|
@@ -757,6 +757,23 @@ function ReportStepItem({
|
|
|
757
757
|
children: step.errorMessage
|
|
758
758
|
}
|
|
759
759
|
) : null,
|
|
760
|
+
step.expected !== void 0 || step.actual !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
761
|
+
"dl",
|
|
762
|
+
{
|
|
763
|
+
"data-slot": "step-comparison",
|
|
764
|
+
className: "mt-1.5 ml-6 grid grid-cols-[auto_1fr] gap-x-3 gap-y-1 font-mono text-xs",
|
|
765
|
+
children: [
|
|
766
|
+
step.expected !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_jsx_runtime19.Fragment, { children: [
|
|
767
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("dt", { className: "text-muted-foreground", children: "Expected" }),
|
|
768
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("dd", { className: "overflow-x-auto whitespace-pre-wrap text-pass", children: step.expected })
|
|
769
|
+
] }) : null,
|
|
770
|
+
step.actual !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_jsx_runtime19.Fragment, { children: [
|
|
771
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("dt", { className: "text-muted-foreground", children: "Actual" }),
|
|
772
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("dd", { className: "overflow-x-auto whitespace-pre-wrap text-fail", children: step.actual })
|
|
773
|
+
] }) : null
|
|
774
|
+
]
|
|
775
|
+
}
|
|
776
|
+
) : null,
|
|
760
777
|
step.docEntries.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { "data-es-docs": true, className: "mt-2 ml-6", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(ReportDocEntries, { entries: step.docEntries }) }) : null
|
|
761
778
|
]
|
|
762
779
|
}
|