From 339af164293ade1134d1b2ee7fb4ede21fec16dd Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Tue, 22 Oct 2024 13:35:02 +0200 Subject: [PATCH] use existing icon --- packages/html-reporter/src/icons.tsx | 8 -------- packages/html-reporter/src/testResultView.tsx | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/packages/html-reporter/src/icons.tsx b/packages/html-reporter/src/icons.tsx index 26515f331c..9609a2e23f 100644 --- a/packages/html-reporter/src/icons.tsx +++ b/packages/html-reporter/src/icons.tsx @@ -113,11 +113,3 @@ export const copy = () => { ; }; - -export const paperclip = () => { - return ( - - ); -}; diff --git a/packages/html-reporter/src/testResultView.tsx b/packages/html-reporter/src/testResultView.tsx index 0096040d7c..6b10f771f3 100644 --- a/packages/html-reporter/src/testResultView.tsx +++ b/packages/html-reporter/src/testResultView.tsx @@ -207,7 +207,7 @@ const StepTreeItem: React.FC<{ {step.title} {step.count > 1 && <> ✕ {step.count}} {step.location && — {step.location.file}:{step.location.line}} - {step.attachments.length > 0 && 1 ? 's' : ''}`}>{icons.paperclip()}} + {step.attachments.length > 0 && 1 ? 's' : ''}`}>{icons.attachment()}} } loadChildren={step.steps.length + step.attachments.length + (step.snippet ? 1 : 0) ? () => { const children = step.steps.map((s, i) => ); children.push(...step.attachments.map(a => {