add style for actor tiles
render actors got from backend backend test code to get actors
This commit is contained in:
12
src/pages/ActorPage/ActorPage.test.js
Normal file
12
src/pages/ActorPage/ActorPage.test.js
Normal file
@ -0,0 +1,12 @@
|
||||
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();
|
||||
});
|
||||
|
||||
|
||||
});
|
Reference in New Issue
Block a user