Skip to content

Commit

Permalink
add simple test for footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Pau1fitz committed Feb 6, 2018
1 parent 4f9f2e5 commit a25bf70
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
13 changes: 13 additions & 0 deletions src/components/Footer/Footer.spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { expect } from 'chai';
import { shallow } from 'enzyme';
import React from 'react';

import Footer from './index';

describe('Footer', () => {
describe('renders correctly', () => {
it('Footer should render', () => {
const wrapper = shallow(<Footer />);
});
});
});
1 change: 0 additions & 1 deletion src/components/Footer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const Footer = ({ stopSong, pauseSong, resumeSong, audioControl}) => {
resumeSong={ resumeSong }
audioControl={ audioControl }
/>

<VolumeControls />
</div>
);
Expand Down

0 comments on commit a25bf70

Please sign in to comment.