Skip to content
This repository was archived by the owner on Jun 26, 2026. It is now read-only.

Commit b53ca41

Browse files
committed
SRVOCF-846: fix lint 2
1 parent ee5d935 commit b53ca41

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

src/common/services/cluster/OcpClusterService.test.ts

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,15 @@ function setupK8sHandlers(namespace: string) {
3636
http.post(`${K8S_API}/api/v1/namespaces/${namespace}/serviceaccounts`, () =>
3737
HttpResponse.json({}),
3838
),
39-
http.post(
40-
`${K8S_API}/apis/rbac.authorization.k8s.io/v1/namespaces/${namespace}/roles`,
41-
() => HttpResponse.json({}),
39+
http.post(`${K8S_API}/apis/rbac.authorization.k8s.io/v1/namespaces/${namespace}/roles`, () =>
40+
HttpResponse.json({}),
4241
),
4342
http.post(
4443
`${K8S_API}/apis/rbac.authorization.k8s.io/v1/namespaces/${namespace}/rolebindings`,
4544
() => HttpResponse.json({}),
4645
),
47-
http.post(
48-
`${K8S_API}/api/v1/namespaces/${namespace}/serviceaccounts/func-github/token`,
49-
() => HttpResponse.json({ status: { token: 'sa-token-value' } }),
46+
http.post(`${K8S_API}/api/v1/namespaces/${namespace}/serviceaccounts/func-github/token`, () =>
47+
HttpResponse.json({ status: { token: 'sa-token-value' } }),
5048
),
5149
);
5250
}
@@ -84,9 +82,8 @@ describe('OcpClusterService', () => {
8482
http.post(`${K8S_API}/api/v1/namespaces/${namespace}/serviceaccounts`, () =>
8583
HttpResponse.json(conflict, { status: 409 }),
8684
),
87-
http.post(
88-
`${K8S_API}/apis/rbac.authorization.k8s.io/v1/namespaces/${namespace}/roles`,
89-
() => HttpResponse.json(conflict, { status: 409 }),
85+
http.post(`${K8S_API}/apis/rbac.authorization.k8s.io/v1/namespaces/${namespace}/roles`, () =>
86+
HttpResponse.json(conflict, { status: 409 }),
9087
),
9188
http.post(
9289
`${K8S_API}/apis/rbac.authorization.k8s.io/v1/namespaces/${namespace}/rolebindings`,

0 commit comments

Comments
 (0)