Applied prettier on files

Signed-off-by: Tomáš Tunkl <tomas.tunkl@avast.com>
This commit is contained in:
Tomáš Tunkl
2022-08-23 12:50:27 +02:00
parent f6033d1121
commit 727e66aeb6
2 changed files with 6 additions and 4 deletions
@@ -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');
});
});
@@ -24,8 +24,8 @@ import {
export function humanizeEntityRef(
entityRef: Entity | CompoundEntityRef,
opts?: {
defaultKind?: string
skipDefaultNamespace?: boolean
defaultKind?: string;
skipDefaultNamespace?: boolean;
},
) {
const defaultKind = opts?.defaultKind;