// @flow
import React from 'react';
import { renderSnapshot } from '../../../../utils/tests';

import { NextIcon } from './index';

describe('NextIcon', () => {
  describe('snapshot', () => {
    it('is disabled', () => {
      const nextIcon = renderSnapshot(<NextIcon disabled />);
      expect(nextIcon).toMatchSnapshot();
    });

    it('is not disabled', () => {
      const nextIcon = renderSnapshot(<NextIcon disabled={false} />);
      expect(nextIcon).toMatchSnapshot();
    });
  });
});
