Skip to content

Commit

Permalink
Merge pull request #126 from danpoq/cleanup
Browse files Browse the repository at this point in the history
Removed unused variables across repo
  • Loading branch information
maxmantz authored Oct 13, 2018
2 parents c064539 + 70448e9 commit 55cfad1
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 95 deletions.
121 changes: 38 additions & 83 deletions package-lock.json

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

1 change: 0 additions & 1 deletion src/CallbackComponent.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import PropTypes from 'prop-types';
import React from 'react';
import { redirectSuccess } from './actions';

class CallbackComponent extends React.Component {
static propTypes = {
Expand Down
1 change: 0 additions & 1 deletion src/reducer/reducer-immutable.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {
USER_EXPIRED,
USER_FOUND,
USER_NOT_FOUND,
SILENT_RENEW_ERROR,
SESSION_TERMINATED,
LOADING_USER,
Expand Down
1 change: 0 additions & 1 deletion src/reducer/reducer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {
USER_EXPIRED,
USER_FOUND,
USER_NOT_FOUND,
SILENT_RENEW_ERROR,
SESSION_TERMINATED,
LOADING_USER,
Expand Down
2 changes: 1 addition & 1 deletion tests/OidcProvider.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import './setup';
import expect from 'expect';
import sinon from 'sinon';
import OidcProvider from '../src/OidcProvider';
import { userExpired, userFound, silentRenewError, sessionTerminated, userExpiring, redirectSuccess, userSignedOut } from '../src/actions';
import { userExpired, userFound, silentRenewError, sessionTerminated, userExpiring, userSignedOut } from '../src/actions';

describe('<OidcProvider />', () => {
let userManagerMock;
Expand Down
1 change: 0 additions & 1 deletion tests/actions/index.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import '../setup';
import expect from 'expect';
import sinon from 'sinon';
import {
USER_EXPIRED,
USER_FOUND,
Expand Down
2 changes: 0 additions & 2 deletions tests/callbackComponent.test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import './setup';
import expect from 'expect';
import React from 'react';
import CallbackComponent from '../src/CallbackComponent';
import sinon from 'sinon';
import { redirectSuccess } from '../src/actions';

describe('<CallbackComponent />', () => {
let userManagerMock;
Expand Down
3 changes: 1 addition & 2 deletions tests/reducer/reducer-immutable.test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import '../setup';
import expect from 'expect';
import sinon from 'sinon';
import { fromJS } from 'immutable';
import { userExpired, userFound, userNotFound, silentRenewError, sessionTerminated, userExpiring, loadingUser, userSignedOut } from '../../src/actions';
import { userExpired, userFound, silentRenewError, sessionTerminated, loadingUser, userSignedOut } from '../../src/actions';
import reducer from '../../src/reducer/reducer-immutable';

const initialState = fromJS({
Expand Down
3 changes: 0 additions & 3 deletions tests/reducer/reducer.test.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '../setup';
import expect from 'expect';
import sinon from 'sinon';
import {
userExpired,
userFound,
userNotFound,
silentRenewError,
sessionTerminated,
userExpiring,
loadingUser,
userSignedOut
} from '../../src/actions';
Expand Down

0 comments on commit 55cfad1

Please sign in to comment.