Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "#161117046 Common Module Tests" #42

Merged
merged 1 commit into from
Oct 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions client/src/modules/common/Modals/AddIntegration.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ const customStyles = {
}
};

// Modal.setAppElement('#app');
Modal.setAppElement('#app');

const AddIntegration = ({ isModalOpen, closeModal }) => (
<Modal
isOpen={isModalOpen}
contentLabel="Add Integration"
onRequestClose={closeModal}
style={customStyles}
ariaHideApp="false"
>
<p className="integration-header">Select an integration to add</p>
<p className="integration-tools">Github Repo</p>
Expand Down
8 changes: 1 addition & 7 deletions client/src/modules/common/Navbar/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import createAdminRequest from '../../../redux/actions/requests';
import { warningMessage, successMessage } from '../../../toasts';
import errorFormatter from '../../../utils/errorFormatter.json';

export class Navbar extends Component {
class Navbar extends Component {
static propTypes = {
signOut: PropTypes.func.isRequired,
createAdminRequest: PropTypes.func.isRequired,
Expand Down Expand Up @@ -108,7 +108,6 @@ export class Navbar extends Component {
</NavLink>
{showIcon && (
<a
id="showSearchBar"
href="#!"
onClick={() => this.toggleState('showSearchBar')}
className=" float-right sidenav-trigger"
Expand All @@ -120,7 +119,6 @@ export class Navbar extends Component {
{this.props.showIcon && (
<li>
<a
id="showSearchBar2"
href="#!"
onClick={() => this.toggleState('showSearchBar')}
>
Expand Down Expand Up @@ -202,7 +200,6 @@ export class Navbar extends Component {
<ul className="tabs tabs-transparent">
<li className="tab">
<a
id="projects"
href="#Projects"
onClick={event => switchContent(event, 'project')}
>
Expand All @@ -211,7 +208,6 @@ export class Navbar extends Component {
</li>
<li className="tab">
<a
id="members"
href="#members"
onClick={event => switchContent(event, 'member')}
>
Expand All @@ -220,7 +216,6 @@ export class Navbar extends Component {
</li>
<li className="tab">
<a
id="account"
href="#account"
onClick={event => switchContent(event, 'account')}
>
Expand All @@ -247,7 +242,6 @@ export class Navbar extends Component {
</label>
{/* eslint-disable-next-line */}
<i
id="showSearchBar3"
className="material-icons"
onClick={() => this.toggleState('showSearchBar')}
>
Expand Down
4 changes: 2 additions & 2 deletions client/src/modules/common/Preloader/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import PropTypes from 'prop-types';
*
* @returns {JSX.Element} React element
*/
export const Preloader = ({ isLoading: { isLoading } }) => (
const Preloader = ({ isLoading: { isLoading } }) => (
<React.Fragment>
{isLoading && (
<div className="progress preloader">
Expand All @@ -18,7 +18,7 @@ export const Preloader = ({ isLoading: { isLoading } }) => (
)}
</React.Fragment>
);
export const mapStateToProps = state => ({
const mapStateToProps = state => ({
isLoading: state.isLoading
});

Expand Down
11 changes: 0 additions & 11 deletions client/src/tests/modules/common/Footer/index.test.jsx

This file was deleted.

14 changes: 0 additions & 14 deletions client/src/tests/modules/common/Modals/AddIntegration.test.jsx

This file was deleted.

14 changes: 0 additions & 14 deletions client/src/tests/modules/common/Modals/AddMember.test.jsx

This file was deleted.

73 changes: 0 additions & 73 deletions client/src/tests/modules/common/Navbar/index.test.jsx

This file was deleted.

19 changes: 0 additions & 19 deletions client/src/tests/modules/common/Preloader/index.test.jsx

This file was deleted.

12 changes: 0 additions & 12 deletions client/src/tests/modules/common/Spinner/Spinner.test.jsx

This file was deleted.