Skip to content

Commit

Permalink
fix ts & i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant committed Sep 18, 2020
1 parent 0a6c982 commit 5d0f876
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/plugins/ui_actions/public/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const createStartContract = (): Start => {
executeTriggerActions: jest.fn(),
fork: jest.fn(),
getAction: jest.fn(),
hasAction: jest.fn(),
getTrigger: jest.fn(),
getTriggerActions: jest.fn((id: TriggerId) => []),
getTriggerCompatibleActions: jest.fn(),
Expand Down
1 change: 1 addition & 0 deletions x-pack/.i18nrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"xpack.triggersActionsUI": "plugins/triggers_actions_ui",
"xpack.upgradeAssistant": "plugins/upgrade_assistant",
"xpack.uptime": ["plugins/uptime"],
"xpack.urlDrilldown": "plugins/drilldowns/url_drilldown",
"xpack.watcher": "plugins/watcher",
"xpack.observability": "plugins/observability"
},
Expand Down
9 changes: 3 additions & 6 deletions x-pack/plugins/drilldowns/url_drilldown/public/lib/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@

import { i18n } from '@kbn/i18n';

export const txtUrlDrilldownDisplayName = i18n.translate(
'xpack.drilldowns.urlDrilldown.DisplayName',
{
defaultMessage: 'Go to URL',
}
);
export const txtUrlDrilldownDisplayName = i18n.translate('xpack.urlDrilldown.DisplayName', {
defaultMessage: 'Go to URL',
});
1 change: 1 addition & 0 deletions x-pack/plugins/ui_actions_enhanced/public/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const createStartContract = (): Start => {
...uiActionsPluginMock.createStartContract(),
getActionFactories: jest.fn(),
getActionFactory: jest.fn(),
hasActionFactory: jest.fn(),
FlyoutManageDrilldowns: jest.fn(),
};

Expand Down

0 comments on commit 5d0f876

Please sign in to comment.