Skip to content

Instantly share code, notes, and snippets.

@danielcondemarin
Created February 18, 2018 15:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielcondemarin/ec8180c4c37a4d1f99be28e01c4804a6 to your computer and use it in GitHub Desktop.
Save danielcondemarin/ec8180c4c37a4d1f99be28e01c4804a6 to your computer and use it in GitHub Desktop.
import React from 'react';
import { shallow } from 'enzyme';
import Iconshow from '../src/Components/Iconshow';
describe('Iconshow component', ()=>{
let wrapper;
beforeEach(()=>{
wrapper = shallow(<Iconshow />);
});
it('+++ render the DUMB component', () => {
expect(wrapper).toBeTruthy();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment