-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add explore all section to the Performances page
- Loading branch information
1 parent
9b77ac4
commit 3d1b382
Showing
4 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
src/containers/Performances/ExplorePerformances/ExplorePerformances.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React, { Component } from 'react' | ||
import Paginate from '../../../components/Paginate/Paginate' | ||
|
||
class ExplorePerformances extends Component { | ||
render() { | ||
return ( | ||
<React.Fragment> | ||
<h1 className="explore-performances-title" >Explore Performances</h1> | ||
<Paginate /> | ||
</React.Fragment> | ||
) | ||
} | ||
} | ||
|
||
export default ExplorePerformances |
17 changes: 17 additions & 0 deletions
17
src/containers/Performances/ExplorePerformances/ExplorePerformances.test.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import React from 'react' | ||
import { shallow } from 'enzyme' | ||
import ExplorePerformances from './ExplorePerformances' | ||
import Paginate from '../../../components/Paginate/Paginate' | ||
|
||
describe('<ExplorePerformances />', () => { | ||
let explorePerformancesWrapper | ||
beforeEach(() => { | ||
explorePerformancesWrapper = shallow(<ExplorePerformances />) | ||
}) | ||
it("has 'Explore Performances' title", () => { | ||
expect(explorePerformancesWrapper.find('h1').text()).toEqual('Explore Performances') | ||
}) | ||
it('has a Paginate component', () => { | ||
expect(explorePerformancesWrapper.find(Paginate).length).toEqual(1) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters