|
| 1 | +// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | + |
| 3 | +exports[`Module exports 1`] = ` |
| 4 | +Object { |
| 5 | + "profile": Object { |
| 6 | + "addSkillDone": [Function], |
| 7 | + "addSkillInit": [Function], |
| 8 | + "addWebLinkDone": [Function], |
| 9 | + "addWebLinkInit": [Function], |
| 10 | + "deletePhotoDone": [Function], |
| 11 | + "deletePhotoInit": [Function], |
| 12 | + "deleteWebLinkDone": [Function], |
| 13 | + "deleteWebLinkInit": [Function], |
| 14 | + "getAchievementsDone": [Function], |
| 15 | + "getAchievementsInit": [Function], |
| 16 | + "getCredentialDone": [Function], |
| 17 | + "getCredentialInit": [Function], |
| 18 | + "getEmailPreferencesDone": [Function], |
| 19 | + "getEmailPreferencesInit": [Function], |
| 20 | + "getExternalAccountsDone": [Function], |
| 21 | + "getExternalAccountsInit": [Function], |
| 22 | + "getExternalLinksDone": [Function], |
| 23 | + "getExternalLinksInit": [Function], |
| 24 | + "getInfoDone": [Function], |
| 25 | + "getInfoInit": [Function], |
| 26 | + "getLinkedAccountsDone": [Function], |
| 27 | + "getLinkedAccountsInit": [Function], |
| 28 | + "getSkillsDone": [Function], |
| 29 | + "getSkillsInit": [Function], |
| 30 | + "getStatsDone": [Function], |
| 31 | + "getStatsInit": [Function], |
| 32 | + "hideSkillDone": [Function], |
| 33 | + "hideSkillInit": [Function], |
| 34 | + "linkExternalAccountDone": [Function], |
| 35 | + "linkExternalAccountInit": [Function], |
| 36 | + "loadProfile": [Function], |
| 37 | + "saveEmailPreferencesDone": [Function], |
| 38 | + "saveEmailPreferencesInit": [Function], |
| 39 | + "unlinkExternalAccountDone": [Function], |
| 40 | + "unlinkExternalAccountInit": [Function], |
| 41 | + "updatePasswordDone": [Function], |
| 42 | + "updatePasswordInit": [Function], |
| 43 | + "updateProfileDone": [Function], |
| 44 | + "updateProfileInit": [Function], |
| 45 | + "uploadPhotoDone": [Function], |
| 46 | + "uploadPhotoInit": [Function], |
| 47 | + }, |
| 48 | +} |
| 49 | +`; |
| 50 | + |
| 51 | +exports[`profile.addSkillDone 1`] = ` |
| 52 | +Object { |
| 53 | + "payload": Object { |
| 54 | + "handle": "tcscoder", |
| 55 | + "skill": Object { |
| 56 | + "tagId": 123, |
| 57 | + "tagName": "Node.js", |
| 58 | + }, |
| 59 | + "skills": Array [ |
| 60 | + Object { |
| 61 | + "tagId": 123, |
| 62 | + "tagName": "Node.js", |
| 63 | + }, |
| 64 | + ], |
| 65 | + }, |
| 66 | + "type": "PROFILE/ADD_SKILL_DONE", |
| 67 | +} |
| 68 | +`; |
| 69 | + |
| 70 | +exports[`profile.addWebLinkDone 1`] = ` |
| 71 | +Object { |
| 72 | + "payload": Object { |
| 73 | + "data": "https://www.google.com", |
| 74 | + "handle": "tcscoder", |
| 75 | + }, |
| 76 | + "type": "PROFILE/ADD_WEB_LINK_DONE", |
| 77 | +} |
| 78 | +`; |
| 79 | + |
| 80 | +exports[`profile.deleteWebLinkDone 1`] = ` |
| 81 | +Object { |
| 82 | + "payload": Object { |
| 83 | + "data": "https://www.google.com", |
| 84 | + "handle": "tcscoder", |
| 85 | + }, |
| 86 | + "type": "PROFILE/DELETE_WEB_LINK_DONE", |
| 87 | +} |
| 88 | +`; |
| 89 | + |
| 90 | +exports[`profile.getCredentialDone 1`] = ` |
| 91 | +Object { |
| 92 | + "payload": Object { |
| 93 | + "credential": Object { |
| 94 | + "hasPassword": true, |
| 95 | + }, |
| 96 | + }, |
| 97 | + "type": "PROFILE/GET_CREDENTIAL_DONE", |
| 98 | +} |
| 99 | +`; |
| 100 | + |
| 101 | +exports[`profile.getEmailPreferencesDone 1`] = ` |
| 102 | +Object { |
| 103 | + "payload": Object { |
| 104 | + "subscriptions": Object { |
| 105 | + "TOPCODER_NL_DATA": true, |
| 106 | + }, |
| 107 | + }, |
| 108 | + "type": "PROFILE/GET_EMAIL_PREFERENCES_DONE", |
| 109 | +} |
| 110 | +`; |
| 111 | + |
| 112 | +exports[`profile.getLinkedAccountsDone 1`] = ` |
| 113 | +Object { |
| 114 | + "payload": Object { |
| 115 | + "profiles": Array [ |
| 116 | + Object { |
| 117 | + "providerType": "github", |
| 118 | + "social": true, |
| 119 | + "userId": "623633", |
| 120 | + }, |
| 121 | + ], |
| 122 | + }, |
| 123 | + "type": "PROFILE/GET_LINKED_ACCOUNTS_DONE", |
| 124 | +} |
| 125 | +`; |
| 126 | + |
| 127 | +exports[`profile.hideSkillDone 1`] = ` |
| 128 | +Object { |
| 129 | + "payload": Object { |
| 130 | + "handle": "tcscoder", |
| 131 | + "skill": Object { |
| 132 | + "tagId": 123, |
| 133 | + "tagName": "Node.js", |
| 134 | + }, |
| 135 | + "skills": Array [], |
| 136 | + }, |
| 137 | + "type": "PROFILE/HIDE_SKILL_DONE", |
| 138 | +} |
| 139 | +`; |
| 140 | + |
| 141 | +exports[`profile.linkExternalAccountDone 1`] = ` |
| 142 | +Object { |
| 143 | + "payload": Object { |
| 144 | + "data": Object { |
| 145 | + "providerType": "github", |
| 146 | + "social": true, |
| 147 | + "userId": "623633", |
| 148 | + }, |
| 149 | + "handle": "tcscoder", |
| 150 | + }, |
| 151 | + "type": "PROFILE/LINK_EXTERNAL_ACCOUNT_DONE", |
| 152 | +} |
| 153 | +`; |
| 154 | + |
| 155 | +exports[`profile.saveEmailPreferencesDone 1`] = ` |
| 156 | +Object { |
| 157 | + "payload": Object { |
| 158 | + "data": Object { |
| 159 | + "subscriptions": Object { |
| 160 | + "TOPCODER_NL_DATA": true, |
| 161 | + }, |
| 162 | + }, |
| 163 | + "handle": "tcscoder", |
| 164 | + }, |
| 165 | + "type": "PROFILE/SAVE_EMAIL_PREFERENCES_DONE", |
| 166 | +} |
| 167 | +`; |
| 168 | + |
| 169 | +exports[`profile.unlinkExternalAccountDone 1`] = ` |
| 170 | +Object { |
| 171 | + "payload": Object { |
| 172 | + "handle": "tcscoder", |
| 173 | + "providerType": "github", |
| 174 | + }, |
| 175 | + "type": "PROFILE/UNLINK_EXTERNAL_ACCOUNT_DONE", |
| 176 | +} |
| 177 | +`; |
| 178 | + |
| 179 | +exports[`profile.updatePasswordDone 1`] = ` |
| 180 | +Object { |
| 181 | + "payload": Object { |
| 182 | + "data": Object { |
| 183 | + "update": true, |
| 184 | + }, |
| 185 | + "handle": "tcscoder", |
| 186 | + }, |
| 187 | + "type": "PROFILE/UPDATE_PASSWORD_DONE", |
| 188 | +} |
| 189 | +`; |
| 190 | + |
| 191 | +exports[`profile.updateProfileDone 1`] = ` |
| 192 | +Object { |
| 193 | + "payload": Object { |
| 194 | + "handle": "tcscoder", |
| 195 | + "userId": 12345, |
| 196 | + }, |
| 197 | + "type": "PROFILE/UPDATE_PROFILE_DONE", |
| 198 | +} |
| 199 | +`; |
| 200 | + |
| 201 | +exports[`profile.uploadPhotoDone 1`] = ` |
| 202 | +Object { |
| 203 | + "payload": Object { |
| 204 | + "handle": "tcscoder", |
| 205 | + "photoURL": "url-of-photo", |
| 206 | + }, |
| 207 | + "type": "PROFILE/UPLOAD_PHOTO_DONE", |
| 208 | +} |
| 209 | +`; |
0 commit comments