Skip to content

Commit 6ee242e

Browse files
Merge pull request #263 from topcoder-platform/tcx-202010
Smoke Testing 2020-10-01
2 parents c9032ff + 29cfc28 commit 6ee242e

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- attach_workspace:
2929
at: .
3030
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
31-
- run: npm publish
31+
- run: npm publish --tag test-release
3232
# dont change anything
3333
workflows:
3434
version: 2

__tests__/__snapshots__/index.js.snap

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,12 @@ Object {
371371
"processMMSubmissions": [Function],
372372
},
373373
"tc": Object {
374+
"CHALLENGE_STATUS": Object {
375+
"ACTIVE": "Active",
376+
"CANCELLED": "Cancelled",
377+
"COMPLETED": "Completed",
378+
"DRAFT": "Draft",
379+
},
374380
"COMPETITION_TRACKS": Object {
375381
"DATA_SCIENCE": "Data Science",
376382
"DESIGN": "Design",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .",
3232
"test": "npm run lint && npm run jest"
3333
},
34-
"version": "1.0.6",
34+
"version": "1000.22.12",
3535
"dependencies": {
3636
"auth0-js": "^6.8.4",
3737
"config": "^3.2.0",

src/utils/tc.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ export const OLD_SUBTRACKS = {
3131
TESTING_COMPETITION: 'TESTING_COMPETITION',
3232
};
3333

34+
/*
35+
* Challenge Status
36+
*/
37+
export const CHALLENGE_STATUS = {
38+
ACTIVE: 'Active',
39+
CANCELLED: 'Cancelled',
40+
COMPLETED: 'Completed',
41+
DRAFT: 'Draft',
42+
};
43+
3444
/**
3545
* Review Opportunity types
3646
*/

0 commit comments

Comments
 (0)