Fix memory leak in unit tests (#5597)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-06-13 11:00:07 -04:00
1 parent 2eb585e88e
commit 3058bea88f
37 files changed
+1502 -1777

No files matched your search

@@ -134,7 +134,7 @@ class NonInjectedAddCluster extends React.Component<Dependencies> {
{this.allErrors.length > 0 && (
<>
<h3>KubeConfig Yaml Validation Errors:</h3>
{...this.allErrors.map(error => <div key={error} className="error">{error}</div>)}
{this.allErrors.map(error => <div key={error} className="error">{error}</div>)}
</>
)}
<div className="actions-panel">