import React from 'react';
import { expect } from 'chai';
import { shallow } from 'enzyme';

import App from './App';
import styles from './styles.module.css';

describe('<App />', function() {
	let wrapper;
	beforeEach(() => {
		wrapper = shallow(<App />)
	})

	it('has a single wrapper element', () => {
		expect(wrapper.find(`.${styles.wrapper}`))
			.to.have.length(1);
	});
});
@@ -178,18 +178,13 @@
 %3E', 
-function()
+() =%3E
  %7B%0A%09
@@ -248,14 +248,14 @@
  /%3E)
+;
 %0A%09%7D)%0A
-%0A
 %09it(
@@ -265,27 +265,21 @@
 s a 
-single wrapper elem
+Router compon
 ent'
@@ -314,28 +314,16 @@
 ind(
-%60.$%7Bstyles.wrapper%7D%60
+'Router'
 ))%0A%09
@@ -347,13 +347,12 @@
 (1);%0A%09%7D)
-;
 %0A%7D);

Build test skeleton