Skip to content

Commit

Permalink
[#155] - Adding test to index ducks
Browse files Browse the repository at this point in the history
Co-authored-by: Amanda Muniz <amanda.muniiz@outlook.com>
Co-authored-by: Leticia Araujo <leticiards.04@gmail.com>
  • Loading branch information
AmandaMuniz and leticiaarj committed Apr 8, 2021
1 parent a17ee74 commit fe4a866
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/src/tests/ducks/index.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import configureStore from '../../ducks/index';
import Adapter from 'enzyme-adapter-react-16';
import Enzyme from 'enzyme';

Enzyme.configure({ adapter: new Adapter() });

describe('Testing Ducks Index', () => {

it('should render as expected', function() {
const tree = configureStore();
expect(tree).toMatchSnapshot();
});
});

0 comments on commit fe4a866

Please sign in to comment.