import React from 'react';
import { Provider } from 'react-redux';
import { BrowserRouter, Route, IndexRoute } from "react-router-dom";

// Testing-specific
import renderer from 'react-test-renderer';
import { shallow, mount, render } from 'enzyme';
const state = require('../state');

// Test subjects
import { Album } from '../../src/js/views/Album';
import * as uiActions from '../../src/js/services/ui/actions';
import * as coreActions from '../../src/js/services/core/actions';

describe('<Album />', () => {

	var album = state.core.albums['jest:album:one'];

	it('should render accurately', () => {		
		const dom = shallow(
			<Album 
				album={album}
				uiActions={uiActions}
				coreActions={coreActions}
			/>
		);

		expect(dom.find('.album-view').length).toBe(1);

		expect(dom.find('h1').text()).toEqual('One');
		expect(dom.find('.wiki__text p').text()).toEqual('Wiki text');
	});
});
@@ -25,185 +25,29 @@
 ';%0D%0A
-import %7B Provider %7D from 'react-redux';%0D%0Aimport %7B BrowserRouter, Route, IndexRoute %7D from %22react-router-dom%22;%0D%0A%0D%0A// Testing-specific%0D%0Aimport renderer from 'react-test-renderer';
+%0D%0A// Testing-specific
 %0D%0Aim
@@ -460,18 +460,16 @@
  () =%3E %7B
-%09%09
 %0D%0A%09%09cons
@@ -580,16 +580,66 @@
 %7D%0D%0A%09%09%09/%3E
+,%0D%0A%09%09%09%7B%0D%0A%09%09%09%09disableLifecycleMethods: true,%0D%0A%09%09%09%7D,
 %0D%0A%09%09);%0D%0A

Disable lifecycle methods