Use jest.fn instead of string.
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user