Skip to content

Commit

Permalink
Fix jest test
Browse files Browse the repository at this point in the history
  • Loading branch information
stratoula committed Feb 11, 2022
1 parent be11016 commit 8065703
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,14 +303,14 @@ export const getTopNavConfig = (
className: 'visNavItem__goToLens',
disableButton: !editInLensConfig,
testId: 'visualizeEditInLensButton',
badge: showBadge
? {
label: i18n.translate('visualizations.tonNavMenu.tryItBadgeText', {
defaultMessage: 'Try it',
}),
color: 'accent' as EuiBetaBadgeProps['color'],
}
: undefined,
...(showBadge && {
badge: {
label: i18n.translate('visualizations.tonNavMenu.tryItBadgeText', {
defaultMessage: 'Try it',
}),
color: 'accent' as EuiBetaBadgeProps['color'],
},
}),
run: async () => {
const updatedWithMeta = {
...editInLensConfig,
Expand Down

0 comments on commit 8065703

Please sign in to comment.