@@ -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