1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-12-03 10:06:10 -05:00
parent 8ecae2ce7d
commit 7a1e9438f9

View File

@ -68,7 +68,7 @@ export class NetworkPolicyDetails extends React.Component<Props> {
}
return Object.entries(matchLabels)
.map(([key, value]) => <li key={key}>{key}:{value}</li>);
.map(([key, value]) => <li key={key}>{key}: {value}</li>);
}
renderMatchExpressions(matchExpressions: LabelMatchExpression[] | undefined) {
@ -80,7 +80,7 @@ export class NetworkPolicyDetails extends React.Component<Props> {
switch (expr.operator) {
case "DoesNotExist":
case "Exists":
return <li key={expr.key}>{expr.key}({expr.operator})</li>;
return <li key={expr.key}>{expr.key} ({expr.operator})</li>;
case "In":
case "NotIn":
return (