add some unit tests
This commit is contained in:
10
src/pages/TVShowPage/TVPlayer.test.js
Normal file
10
src/pages/TVShowPage/TVPlayer.test.js
Normal file
@ -0,0 +1,10 @@
|
||||
import {shallow} from 'enzyme';
|
||||
import {TVPlayer} from './TVPlayer';
|
||||
import React from 'react';
|
||||
|
||||
describe('<TVPlayer/>', () => {
|
||||
it('renders without crashing', function () {
|
||||
const wrapper = shallow(<TVPlayer match={{params: {id: 42}}}/>);
|
||||
wrapper.unmount();
|
||||
});
|
||||
})
|
Reference in New Issue
Block a user