File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
__tests__/shared/components/challenge-detail
Submissions/SubmissionRow/SubmissionHistoryRow Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22// import ReactDOM from 'react-dom';
33import Renderer from 'react-test-renderer/shallow' ;
4- import TU from 'react-dom/test-utils' ;
4+ // import TU from 'react-dom/test-utils';
55import SubmissionHistoryRow from 'components/challenge-detail/Submissions/SubmissionRow/SubmissionHistoryRow' ;
66
77const mockData = {
@@ -32,14 +32,14 @@ describe('Matches shallow shapshot', () => {
3232 } ) ;
3333} ) ;
3434
35+ /*
3536class Wrapper extends React.Component {
3637 componentDidMount() {}
3738
3839 render() {
3940 return <SubmissionHistoryRow {...this.props} />;
4041 }
4142}
42- /*
4343describe('render properly', () => {
4444 test('click', () => {
4545 const instance = TU.renderIntoDocument((<Wrapper {...mockData} />));
@@ -48,4 +48,4 @@ describe('render properly', () => {
4848 TU.Simulate.click(matches[0]);
4949 });
5050});
51- */
51+ */
Original file line number Diff line number Diff line change 11import React from 'react' ;
22// import ReactDOM from 'react-dom';
33import Renderer from 'react-test-renderer/shallow' ;
4- import TU from 'react-dom/test-utils' ;
4+ // import TU from 'react-dom/test-utils';
55import Winner from 'components/challenge-detail/Winners/Winner' ;
66
77const mockData = {
@@ -53,14 +53,14 @@ describe('Matches shallow shapshot', () => {
5353 } ) ;
5454} ) ;
5555
56+ /*
5657class Wrapper extends React.Component {
5758 componentDidMount() {}
5859
5960 render() {
6061 return <Winner {...this.props} />;
6162 }
6263}
63- /*
6464describe('render properly', () => {
6565 test('click', () => {
6666 const instance = TU.renderIntoDocument((<Wrapper {...mockData} />));
@@ -69,4 +69,4 @@ describe('render properly', () => {
6969 TU.Simulate.click(matches[0]);
7070 });
7171});
72- */
72+ */
You can’t perform that action at this time.
0 commit comments