From bb227d5c3a2f2288c74640323ea14b5ce516fc99 Mon Sep 17 00:00:00 2001 From: Carlos Mondragon Date: Fri, 26 Oct 2018 10:12:27 -0700 Subject: [PATCH] Use jest.fn instead of string. --- public/app/core/components/EmptyListCTA/EmptyListCTA.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/core/components/EmptyListCTA/EmptyListCTA.test.tsx b/public/app/core/components/EmptyListCTA/EmptyListCTA.test.tsx index ff92dc0d5c7..21700bb4d03 100644 --- a/public/app/core/components/EmptyListCTA/EmptyListCTA.test.tsx +++ b/public/app/core/components/EmptyListCTA/EmptyListCTA.test.tsx @@ -7,7 +7,7 @@ const model = { buttonIcon: 'ga css class', buttonLink: 'http://url/to/destination', buttonTitle: 'Click me', - onClick: 'handler', + onClick: jest.fn(), proTip: 'This is a tip', proTipLink: 'http://url/to/tip/destination', proTipLinkTitle: 'Learn more',