Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
Address type/typos
  • Loading branch information
cee-chen committed Jul 8, 2020
1 parent 9c6acdd commit 3b715b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('generateBreadcrumb', () => {
expect(event.preventDefault).toHaveBeenCalled();
});

it('does not prevents default browser behavior on new tab/window clicks', () => {
it('does not prevent default browser behavior on new tab/window clicks', () => {
const breadcrumb = generateBreadcrumb({ text: '', path: '/', history: mockHistory }) as any;

(letBrowserHandleEvent as jest.Mock).mockImplementationOnce(() => true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@

import { ILicense } from '../../../../../licensing/public';

export const hasPlatinumLicense = (license: ILicense) => {
export const hasPlatinumLicense = (license?: ILicense) => {
return license?.isActive && ['platinum', 'enterprise', 'trial'].includes(license?.type as string);
};

0 comments on commit 3b715b5

Please sign in to comment.