add some unit tests

This commit is contained in:
2021-05-01 15:18:38 +02:00
parent 4ae9f27902
commit 5fac3a0780
5 changed files with 34 additions and 2 deletions

View 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();
});
})