Applied prettier on files
Signed-off-by: Tomáš Tunkl <tomas.tunkl@avast.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user