Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function RunDetails({ run }) {
const { css } = useCss();
const { specs } = run;
const [isPassedHidden, setHidePassedSpecs] = useState(false);
return (
<div>
<strong>Spec files</strong>
<ul>
{specs
.filter(spec =></ul></div>