import React from "react";
import { shallow } from "enzyme";
import assert from "assert";
import { App } from "../../src/components/App";

// unit tests for the App component
describe('App component', () => {
  describe('render()', () => {
    it('should render the component', () => {
      const props = {dispatch: ()=>{}, users: []};
      const wrapper = shallow(<App {...props}/>);
      assert.equal(wrapper.length, 1);
    });
  });
});

import React from "react";
import { shallow } from "enzyme";
import assert from "assert";
import App from "../../src/components";

// unit tests for the App component
describe('App component', () => {
  describe('render()', () => {
    it('should render the component', () => {
      const wrapper = shallow(<App />);
      assert.equal(wrapper.length, 1);
    });
  });
});

Fix import module in test component
Fix import module in test component
