13 lines
304 B
JavaScript
13 lines
304 B
JavaScript
import {shallow} from 'enzyme';
|
|
import React from 'react';
|
|
import ActorPage from './ActorPage';
|
|
|
|
describe('<ActorPage/>', function () {
|
|
it('renders without crashing ', function () {
|
|
const wrapper = shallow(<ActorPage actor={{id: 5, name: 'usr1'}}/>);
|
|
wrapper.unmount();
|
|
});
|
|
|
|
|
|
});
|