diff --git a/plugins/catalog-react/src/components/EntityRefLink/humanize.test.ts b/plugins/catalog-react/src/components/EntityRefLink/humanize.test.ts index ac873b5140..9f08290095 100644 --- a/plugins/catalog-react/src/components/EntityRefLink/humanize.test.ts +++ b/plugins/catalog-react/src/components/EntityRefLink/humanize.test.ts @@ -47,7 +47,7 @@ describe('humanizeEntityRef', () => { lifecycle: 'production', }, }; - const title = humanizeEntityRef(entity, {skipDefaultNamespace: false}); + const title = humanizeEntityRef(entity, { skipDefaultNamespace: false }); expect(title).toEqual('component:default/software'); }); @@ -128,7 +128,9 @@ describe('humanizeEntityRef', () => { name: 'software', }; - const title = humanizeEntityRef(entityName, {skipDefaultNamespace: false}); + const title = humanizeEntityRef(entityName, { + skipDefaultNamespace: false, + }); expect(title).toEqual('component:default/software'); }); }); diff --git a/plugins/catalog-react/src/components/EntityRefLink/humanize.ts b/plugins/catalog-react/src/components/EntityRefLink/humanize.ts index bbf826ecb2..bd97ce2548 100644 --- a/plugins/catalog-react/src/components/EntityRefLink/humanize.ts +++ b/plugins/catalog-react/src/components/EntityRefLink/humanize.ts @@ -24,8 +24,8 @@ import { export function humanizeEntityRef( entityRef: Entity | CompoundEntityRef, opts?: { - defaultKind?: string - skipDefaultNamespace?: boolean + defaultKind?: string; + skipDefaultNamespace?: boolean; }, ) { const defaultKind = opts?.defaultKind;