Skip to content

Commit a36207f

Browse files
feat: added country functionality
1 parent 933a177 commit a36207f

13 files changed

+72
-1255
lines changed

src/profile/__mocks__/invalidUser.mockStore.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ module.exports = {
2929
drafts: {},
3030
isLoadingProfile: false,
3131
isAuthenticatedUserProfile: true,
32+
countries: [],
3233
},
3334
router: {
3435
location: {

src/profile/__mocks__/savingEditedBio.mockStore.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ module.exports = {
125125
}
126126
],
127127
drafts: {},
128-
isLoadingProfile: false
128+
isLoadingProfile: false,
129+
countries: [],
129130
},
130131
router: {
131132
location: {

src/profile/__mocks__/viewOtherProfile.mockStore.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ module.exports = {
8686
drafts: {},
8787
isLoadingProfile: false,
8888
learningGoal: 'advance_career',
89+
countries: [],
8990
},
9091
router: {
9192
location: {

src/profile/__mocks__/viewOwnProfile.mockStore.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ module.exports = {
124124
createdDate: '2019-03-04T19:31:39.896806Z'
125125
}
126126
],
127+
countries:[{code:"AX", name:"Åland Islands"},{code:"AL", name:"Albania"}],
127128
drafts: {},
128129
isLoadingProfile: false
129130
},

0 commit comments

Comments
 (0)