+
+ {isError ? (
+
+ ) : isAllow ? (
+
+ ) : isBlock ? (
+
+ ) : (
+
+ )}
+
+ {isError ? "Error" : testResult.action.toUpperCase()}
+
+ {testResult.execution_time_ms && (
+
+ {testResult.execution_time_ms.toFixed(2)}ms
+
+ )}
+
+
+ {isError && (
+
+ )}
+
+ {isBlock && testResult.reason && (
+
+ Reason: {testResult.reason}
+
+ )}
+
+ {isModify && testResult.modified_texts && testResult.modified_texts.length > 0 && (
+
+
Modified Texts:
+
+ {JSON.stringify(testResult.modified_texts, null, 2)}
+
+
+ )}
+