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

MNT ESLint issues #157

Merged
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
2 changes: 1 addition & 1 deletion client/dist/js/bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import React, { useState } from 'react';
import { connect } from 'react-redux';
import backend from 'lib/Backend';
import Config from 'lib/Config'; // eslint-disable-line
import LoginSession from './LoginSession';
import { success, error } from 'state/toasts/ToastsActions';
import i18n from 'i18n';
import LoginSession from './LoginSession';

function createEndpoint(logOutEndpoint) {
return backend.createEndpointFetcher({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* global jest, test, describe, it, expect, beforeEach, Event */

import React from 'react';
import LoginSession from '../LoginSession';
import { render } from '@testing-library/react';
import LoginSession from '../LoginSession';

jest.useFakeTimers().setSystemTime(new Date('2021-03-12 03:47:22'));

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* global jest, test, describe, it, expect, beforeEach, Event, global */

import React from 'react';
import { Component as LoginSessionContainer } from '../LoginSessionContainer';
import { fireEvent, render, screen } from '@testing-library/react';
import { Component as LoginSessionContainer } from '../LoginSessionContainer';

let doResolve;
let doReject;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* global window */
import React from 'react';
import LoginSessionContainer from '../LoginSession/LoginSessionContainer';
import PropTypes from 'prop-types';
import LoginSessionContainer from '../LoginSession/LoginSessionContainer';

function SessionManagerField(props) {
return (
Expand Down