Updated tests

Signed-off-by: Amelia-Maria Breda <ambreda@cisco.com>
This commit is contained in:
Amelia-Maria Breda 2022-10-10 13:31:15 +01:00 committed by Raul Kele
parent d4788e4192
commit 0f50e5c209

View File

@ -232,9 +232,9 @@ function HistoryLayers(props) {
{historyData[selectedIndex].HistoryDescription?.CreatedBy}
</Typography>
{!historyData[selectedIndex].HistoryDescription?.EmptyLayer ? (
<Typography>#: {historyData[selectedIndex].Layer?.Digest}</Typography>
<Typography data-testid="hash-typography">#: {historyData[selectedIndex].Layer?.Digest}</Typography>
) : (
<Typography></Typography>
<Typography data-testid="no-hash-typography"></Typography>
)}
</CardContent>
</Card>