import test from 'tape';
import Dropdown from '../components/Dropdown.jsx';
import React from 'react/addons';
const { TestUtils } = React.addons;

const setup = () => {
  const renderer = TestUtils.createRenderer();

  renderer.render(
    <Dropdown
      collapsed="true"
    />
  );
  return renderer.getRenderOutput();
};

test(
  'Dropdown renders a <div> with a class of dropdown',
  (assert) => {
    const component = setup();
    assert.equal(
      component.props.className,
      'dropdown'
    );
    assert.end();
  }
);

import test from 'tape';
import Dropdown from '../Dropdown.jsx';
import React from 'react/addons';
const { TestUtils } = React.addons;

const setup = () => {
  const renderer = TestUtils.createRenderer();

  renderer.render(
    <Dropdown
      collapsed="true"
    />
  );
  return renderer.getRenderOutput();
};

test(
  'Dropdown renders a <div> with a class of dropdown',
  (assert) => {
    const component = setup();
    assert.equal(
      component.props.className,
      'dropdown'
    );
    assert.end();
  }
);

Add the correct path for the dropdown test
Add the correct path for the dropdown test
