Skip to content

Commit

Permalink
set sizes on test suite icons
Browse files Browse the repository at this point in the history
  • Loading branch information
imalsogreg committed Nov 22, 2024
1 parent 93be9e3 commit 1e3acca
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -674,19 +674,19 @@ const TestResults: React.FC = () => {
}, [selectedFunction?.name])
const isNextJs = (window as any).next?.version

let testSuiteIcon = "❌";
let testSuiteIcon = <span className="text-lg"></span>;
switch (testSuiteSummary) {
case 'fail':
testSuiteIcon = "❌";
testSuiteIcon = <span className="text-lg"></span>;
break;
case 'pass':
testSuiteIcon = "✅";
testSuiteIcon = <span className="text-lg"></span>;
break;
case 'warn':
testSuiteIcon = "⚠";
testSuiteIcon = <span className="text-lg text-yellow-500">⚠️</span>;
break;
case 'unknown':
testSuiteIcon = " ";
testSuiteIcon = <span className="text-lg"> </span>;
break;
}

Expand Down

0 comments on commit 1e3acca

Please sign in to comment.