content: import React from 'react'
  import renderer from 'react-test-renderer'
  import { NavTabCarousel } from './index'
  
  describe('<NavTabCarousel />', () => {
    let component
  
    describe('with totalIndex prop', () => {
      beforeEach(() => {
        component = renderer
          .create(
            <NavTabCarousel>
              <NavTabCarousel.Prev>Foobar 1</NavTabCarousel.Prev>
              <NavTabCarousel.Pagination
                activeIndex={2}
                totalIndex={3}
                activeColor="#c0ff33"
              />
              <NavTabCarousel.Next>Foobar 2</NavTabCarousel.Next>
            </NavTabCarousel>,
          )
          .toJSON()
      })
  
      it('matches with snapshot', () => {
        expect(component).toMatchSnapshot()
      })
    })
  
    describe('with links prop', () => {
      beforeEach(() => {
        component = renderer
          .create(
            <NavTabCarousel>
              <NavTabCarousel.Prev>Foobar 1</NavTabCarousel.Prev>
              <NavTabCarousel.Pagination
                activeIndex={2}
                links={[
                  'http://www.google.com',
                  'http://www.cowboybebop.com',
                  'http://www.starwars.com',
                ]}
                activeColor="#c0ff33"
              />
              <NavTabCarousel.Next>Foobar 2</NavTabCarousel.Next>
            </NavTabCarousel>,
          )
          .toJSON()
      })
  
      it('matches with snapshot', () => {
        expect(component).toMatchSnapshot()
      })
    })
  })
  