Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('should render correctly if the platform matches with the current device', () => {
getPlatform.mockReturnValueOnce('ios')
const contact = { platform: 'ios', href: 'http://some.thing' }
expect(
mount(
).html()
).toMatchSnapshot()
})
})