Skip to content

Commit 630e97c

Browse files
Change tc-auth-lib name
1 parent 5970c21 commit 630e97c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

__tests__/client/client.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const mockTcAccounts = {
106106
decodeToken: () => ({ exp: Date.now() }),
107107
getFreshToken: () => Promise.resolve(tokenV3),
108108
};
109-
jest.setMock('tc-auth-lib', mockTcAccounts);
109+
jest.setMock('@topcoder-platform/tc-auth-lib', mockTcAccounts);
110110
111111
/* Mock auth actions */
112112
/*

__tests__/shared/reducers/auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const mockActions = {
2424
2525
_.merge(actions, mockActions);
2626
27-
jest.setMock('tc-auth-lib', {
27+
jest.setMock('@topcoder-platform/tc-auth-lib', {
2828
decodeToken: () => 'User object',
2929
isTokenExpired: () => false,
3030
});

__tests__/shared/reducers/challenge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { mock, actions } from 'topcoder-react-lib';
1111
1212
const { mockAction } = mock;
1313
14-
jest.setMock('tc-auth-lib', {
14+
jest.setMock('@topcoder-platform/tc-auth-lib', {
1515
decodeToken: () => 'User object',
1616
isTokenExpired: () => false,
1717
});

src/shared/containers/EmailVerification/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import PT from 'prop-types';
88
import {connect} from "react-redux";
99
import { actions } from "topcoder-react-lib";
1010
import { Redirect } from 'react-router';
11-
import {isTokenExpired} from "tc-auth-lib";
11+
import {isTokenExpired} from '@topcoder-platform/tc-auth-lib';
1212
import * as queryString from 'query-string';
1313
import LoadingIndicator from 'components/LoadingIndicator';
1414
import Error404 from 'components/Error404';

0 commit comments

Comments
 (0)