generated from Real-Dev-Squad/website-template
-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: add skills field (#918) * featureUrl removed * removed feature/group * change class inputBox instead radioButton * task level section removed * unncessary object destruction under featureflag removed * status=available typo fixed * tests added for updated changes * Tests fixed * Added data-testid for testing,also added new tests * Test api updated to staging * refactored for readability * created a constants file * API_BASE_URL changed to stating for testing * Added data-testid for testing,also added new tests * Test api updated to staging * refactored for readability * added skills field * Tests for skills field added * restore accidently deleted css * fixed checkbox styling * fixed (Select aAll) typo and removed repeated code * Added new tests * update query selector to element id * mock skills added for testing * SKILL_TREE_BACKEND_BASE_URL imported from constants Co-authored-by: sunilk429 <[email protected]>
- Loading branch information
Showing
6 changed files
with
554 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
const STAGING_API_URL = 'https://staging-api.realdevsquad.com'; | ||
const LOCAL_TEST_PAGE_URL = 'http://localhost:8000'; | ||
const SKILL_TREE_BACKEND_BASE_URL = | ||
'https://services.realdevsquad.com/skilltree/v1'; | ||
|
||
module.exports = { | ||
STAGING_API_URL, | ||
LOCAL_TEST_PAGE_URL, | ||
SKILL_TREE_BACKEND_BASE_URL, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
const skills = [ | ||
{ id: 1, name: 'JavaScript' }, | ||
{ id: 2, name: 'React' }, | ||
{ id: 3, name: 'Node.js' }, | ||
]; | ||
|
||
module.exports = { skills }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.