Skip to content

Commit 3bfca81

Browse files
committed
Misc fixes
1 parent 1b8b42f commit 3bfca81

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

__tests__/__snapshots__/index.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Object {
108108
"getTermsInit": [Function],
109109
},
110110
},
111-
"challenges": Object {
111+
"challenge": Object {
112112
"filter": Object {
113113
"addTrack": [Function],
114114
"combine": [Function],

__tests__/utils/challenges/filter.js renamed to __tests__/utils/challenge/filter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { setText, setTags, setSubtracks, setStartDate } from '../../../src/utils/challenges/filter';
1+
import { setText, setTags, setSubtracks, setStartDate } from '../../../src/utils/challenge/filter';
22

33
describe('challenge filter', () => {
44
let res;

src/actions/stats.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/**
2-
* @module "actions.smp"
2+
* @module "actions.stats"
33
* @desc Actions related to Topcoder statistics (at the moment, only community
44
* statistics).
55
*/
66

77
import _ from 'lodash';
88

99
import { createActions } from 'redux-actions';
10-
import * as Filter from '../utils/challenges/filter';
10+
import * as Filter from '../utils/challenge/filter';
1111
import { getService as getGroupService } from '../services/groups';
1212

1313
/**

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ export { actions } from './actions';
1111

1212
export { services } from './services';
1313

14-
export { challenges, logger, errors, tc, time, mock } from './utils';
14+
export { challenge, logger, errors, tc, time, mock } from './utils';

src/utils/challenges/filter.js renamed to src/utils/challenge/filter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @module "challenges.filter"
2+
* @module "challenge.filter"
33
*
44
* @desc
55
* Universal challenge filter. Must be used in all places where we need filter

src/utils/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ import * as tc from './tc';
66
import * as time from './time';
77
import * as mock from './mock';
88
import * as errors from './errors';
9-
import * as filter from './challenges/filter';
9+
import * as filter from './challenge/filter';
1010

11-
const challenges = {
11+
const challenge = {
1212
filter,
1313
};
1414

1515
export {
16-
challenges,
16+
challenge,
1717
logger,
1818
tc,
1919
time,

0 commit comments

Comments
 (0)