import 'react-native';
import React from 'react';
import renderer from 'react-test-renderer';

import Button from '../Button';

describe('Button', () => {
  it('should render the button', () => {
    const tree = renderer.create(
      <Button>Hello</Button>
    ).toJSON();
    expect(tree).toMatchSnapshot();
  });
});

import 'react-native';
import React from 'react';
import renderer from 'react-test-renderer';

import Button from '../Button';

describe('Button', () => {
  it('should render the button', () => {
    const tree = renderer.create(
      <Button>Hello</Button>,
    ).toJSON();
    expect(tree).toMatchSnapshot();
  });
});

Fix linter