Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
meetulr committed Nov 11, 2024
1 parent 359164e commit d0db483
Show file tree
Hide file tree
Showing 10 changed files with 456 additions and 191 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Count number of lines
run: |
chmod +x ./.github/workflows/countline.py
./.github/workflows/countline.py --lines 600 --exclude_files src/screens/LoginPage/LoginPage.tsx src/GraphQl/Queries/Queries.ts src/screens/OrgList/OrgList.tsx src/GraphQl/Mutations/mutations.ts src/components/EventListCard/EventListCardModals.tsx src/components/TagActions/TagActionsMocks.ts src/utils/interfaces.ts
./.github/workflows/countline.py --lines 600 --exclude_files src/screens/LoginPage/LoginPage.tsx src/GraphQl/Queries/Queries.ts src/screens/OrgList/OrgList.tsx src/GraphQl/Mutations/mutations.ts src/components/EventListCard/EventListCardModals.tsx src/components/TagActions/TagActionsMocks.ts src/utils/interfaces.ts src/screens/MemberDetail/MemberDetail.tsx
- name: Get changed TypeScript files
id: changed-files
Expand Down
4 changes: 3 additions & 1 deletion public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,9 @@
"talawaApiUnavailable": "talawaApiUnavailable",
"unassignUserTag": "Unassign Tag",
"unassignUserTagMessage": "Do you want to remove the tag from this user?",
"successfullyUnassigned": "Tag unassigned from user"
"successfullyUnassigned": "Tag unassigned from user",
"tagsAssigned": "Tags Assigned",
"noTagsAssigned": "No Tags Assigned"
},
"people": {
"title": "People",
Expand Down
4 changes: 3 additions & 1 deletion public/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,9 @@
"talawaApiUnavailable": "API Talawa non disponible",
"unassignUserTag": "Désassigner l'étiquette",
"unassignUserTagMessage": "Voulez-vous retirer l'étiquette de cet utilisateur?",
"successfullyUnassigned": "Étiquette retirée de l'utilisateur"
"successfullyUnassigned": "Étiquette retirée de l'utilisateur",
"tagsAssigned": "étiquettes assignés",
"noTagsAssigned": "Aucun étiquette assigné"
},
"people": {
"title": "Personnes",
Expand Down
4 changes: 3 additions & 1 deletion public/locales/hi/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,9 @@
"talawaApiUnavailable": "Talawa API अनुपलब्ध",
"unassignUserTag": "टैग को हटाएं",
"unassignUserTagMessage": "क्या आप इस उपयोगकर्ता से टैग हटाना चाहते हैं?",
"successfullyUnassigned": "उपयोगकर्ता से टैग हटा दिया गया"
"successfullyUnassigned": "उपयोगकर्ता से टैग हटा दिया गया",
"tagsAssigned": "टैग सौंपे गए",
"noTagsAssigned": "कोई टैग सौंपा नहीं गया"
},
"people": {
"title": "लोग",
Expand Down
4 changes: 3 additions & 1 deletion public/locales/sp/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,9 @@
"userType": "Tipo de usuario",
"unassignUserTag": "Desasignar Etiqueta",
"unassignUserTagMessage": "¿Desea eliminar la etiqueta de este usuario?",
"successfullyUnassigned": "Etiqueta desasignada del usuario"
"successfullyUnassigned": "Etiqueta desasignada del usuario",
"tagsAssigned": "Etiquetas asignadas",
"noTagsAssigned": "No se asignaron etiquetas"
},
"userLogin": {
"login": "Acceso",
Expand Down
4 changes: 3 additions & 1 deletion public/locales/zh/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,9 @@
"talawaApiUnavailable": "塔拉瓦 API 不可用",
"unassignUserTag": "取消分配标签",
"unassignUserTagMessage": "您想从此用户中删除标签吗?",
"successfullyUnassigned": "标签已从用户中取消分配"
"successfullyUnassigned": "标签已从用户中取消分配",
"tagsAssigned": "已分配标签",
"noTagsAssigned": "未分配标签"
},
"userLogin": {
"login": "登录",
Expand Down
4 changes: 0 additions & 4 deletions src/GraphQl/Queries/Queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -558,10 +558,6 @@ export const USER_DETAILS = gql`
parentTag {
_id
}
ancestorTags {
_id
name
}
}
}
pageInfo {
Expand Down
Loading

0 comments on commit d0db483

Please sign in to comment.