import {shallow} from 'enzyme';
import React from 'react';
import {ActorPage} from './ActorPage';
describe('', function () {
it('renders without crashing ', function () {
const wrapper = shallow();
wrapper.unmount();
});
it('fetch infos', function () {
callAPIMock({
Videos: [{
MovieId: 0,
MovieName: 'test'
}], Info: {
Thumbnail: '',
Name: '',
ActorId: 0
}
});
const wrapper = shallow();
expect(wrapper.find('VideoContainer')).toHaveLength(1);
});
});