import { shallow } from 'enzyme';
import Dashboard from 'bitbucket/internal/feature/dashboard/dashboard';
import Repositories from 'bitbucket/internal/feature/dashboard/repositories';

QUnit.module('dashboard-test');

QUnit.test('Dashboard has Repositories', function (assert) {
    const wrapper = shallow(<Dashboard />);
    assert.equal(wrapper.find(Repositories).length, 1);
});