Skip to content

Commit 358b8de

Browse files
author
Sven
committed
fix: remove test
1 parent 5f7483f commit 358b8de

File tree

3 files changed

+0
-43
lines changed

3 files changed

+0
-43
lines changed

tests/layouts/PageLayout.spec.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,8 @@ import { shallow } from 'enzyme'
44
import { Navbar } from 'reactstrap'
55

66
describe('(Layout) PageLayout', () => {
7-
it('renders as a <div>', () => {
8-
shallow(<PageLayout />).should.have.tagName('div')
9-
})
10-
117
it('renders a <NavBar />', () => {
128
const wrapper = shallow(<PageLayout />)
139
expect(wrapper.find(Navbar)).to.have.length(1)
1410
})
15-
16-
it('renders its children inside of the viewport', () => {
17-
const Child = () => <h2>child</h2>
18-
shallow(
19-
<PageLayout>
20-
<Child />
21-
</PageLayout>
22-
)
23-
.find('.page-layout__viewport')
24-
.should.contain(<Child />)
25-
})
2611
})

tests/routes/Counter/index.spec.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +0,0 @@
1-
import CounterRoute from 'routes/Counter'
2-
3-
describe('(Route) Counter', () => {
4-
it('returns a route configuration object', () => {
5-
expect(typeof CounterRoute({})).to.equal('object')
6-
})
7-
8-
it('has a path \'counter\'', () => {
9-
expect(CounterRoute({}).path).to.equal('counter')
10-
})
11-
})

tests/routes/Home/index.spec.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +0,0 @@
1-
import HomeRoute from 'routes/Home'
2-
3-
describe('(Route) Home', () => {
4-
let _component
5-
6-
beforeEach(() => {
7-
_component = HomeRoute.component()
8-
})
9-
10-
it('Should return a route configuration object', () => {
11-
expect(typeof HomeRoute).to.equal('object')
12-
})
13-
14-
it('Should define a route component', () => {
15-
expect(_component.type).to.equal('div')
16-
})
17-
})

0 commit comments

Comments
 (0)