content: import 'react-native';
  import React from 'react';
  import renderer from 'react-test-renderer';
  import { Badge } from './../../src/basic/Badge';
  // import Icon from '../../../Components/Widgets/Icon';
  
  // Note: test renderer must be required after react-native.
  
  jest.mock('Platform', () => {
      const Platform = require.requireActual('Platform');
      Platform.OS = 'ios';
      return Platform;
  });
  
  
  it('renders regular badge', () => {
     const tree = renderer.create(
         <Badge>
             2
         </Badge>
     ).toJSON();
      expect(tree).toMatchSnapshot();
  });