Skip to content

feat!: Migrate Testing Framework from Jest to Vitest #1998

feat!: Migrate Testing Framework from Jest to Vitest

feat!: Migrate Testing Framework from Jest to Vitest #1998

Triggered via pull request November 26, 2024 12:03
Status Failure
Total duration 7m 37s
Artifacts

pull-request.yml

on: pull_request
Performs linting, formatting, type-checking, checking for different source and target branch
1m 6s
Performs linting, formatting, type-checking, checking for different source and target branch
Check for eslint-disable
4s
Check for eslint-disable
Checks if sensitive files have been changed without authorization
0s
Checks if sensitive files have been changed without authorization
Checks if number of files changed is acceptable
7s
Checks if number of files changed is acceptable
Runs Introspection on the GitHub talawa-api repo on the schema.graphql file
19s
Runs Introspection on the GitHub talawa-api repo on the schema.graphql file
Check Target Branch
0s
Check Target Branch
Test Application
6m 11s
Test Application
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
Check Target Branch
Process completed with exit code 1.
Runs Introspection on the GitHub talawa-api repo on the schema.graphql file
Process completed with exit code 1.
Test Application
0 is less than min_coverage 95 Lines not covered: - .github/workflows/check-tsdoc.js: 5, 15, 16, 17, 18, 19, 20, 21, 22, 23, 28, 32, 34, 39, 40, 41, 43, 44, 50, 51, 52, 54, 55, 56, 60, 61, 62, 64, 68 - config/babel.config.cjs: 1 - scripts/__mocks__/@dicebear/collection.ts: 1 - scripts/__mocks__/@dicebear/core.ts: 1, 2, 3 - scripts/__mocks__/@pdfme/generator.ts: 3, 10, 12, 15, 17, 18, 19, 21 - scripts/__mocks__/fileMock.js: 2 - scripts/custom-test-env.js: 10, 11, 12, 13 - scripts/githooks/check-localstorage-usage.js: 7, 8, 10, 11, 12, 13, 15, 16, 20, 21, 22, 23, 26, 29, 32, 34, 35, 39, 41, 43, 44, 45, 48, 51, 57, 58, 61, 62, 63, 65, 70, 73, 76, 80, 82, 83, 84, 85, 87, 91, 95 - scripts/githooks/update-toc.js: 4, 6, 8, 9, 10, 14 - setup.ts: 11, 13, 14, 15, 16, 17, 20, 25, 26, 29, 31, 37, 40, 41, 43, 45, 46, 47, 53, 54, 57, 59, 65, 68, 69, 70, 72, 73, 74, 75, 77, 78, 79, 81, 86, 87, 89, 91, 96, 99, 106, 107, 111, 112, 116, 119, 120, 123, 125, 131, 134, 135, 141, 142, 144, 149, 153, 154, 158, 163, 171, 172, 174, 175, 176, 180, 185 - src/App.tsx: 103, 104, 105, 106, 107, 108, 109, 110 - src/components/AddOn/core/AddOnStore/AddOnStore.tsx: 44, 45, 46, 47, 49, 50, 51, 53, 60, 61, 72, 86, 87 - src/components/AddPeopleToTag/AddPeopleToTag.tsx: 178, 179 - src/components/Advertisements/core/AdvertisementRegister/AdvertisementRegister.tsx: 239 - src/components/AgendaItems/AgendaItemsContainer.tsx: 146, 147, 148, 218, 219, 222, 223, 224, 226, 227, 229, 231, 244, 246, 247 - src/components/AgendaItems/AgendaItemsUpdateModal.tsx: 65, 66 - src/components/CheckIn/TableRow.tsx: 76, 78, 80, 82 - src/components/EventCalendar/constants.js: 1, 16, 17, 31 - src/components/EventCalendar/EventCalendar.tsx: 50, 51, 52, 53, 97, 98, 99, 100, 101, 102, 105, 106, 111, 112, 113, 114, 116, 117, 134, 135, 136, 138, 147, 148, 149, 151, 160, 161, 163, 164, 169, 170, 172, 173, 174, 179, 181, 187, 188, 190, 191, 192, 194, 195, 196, 206, 219, 220, 221, 222, 224, 230, 233, 234, 238, 242, 243, 244, 248, 251, 276, 314, 325, 327, 333, 338, 342, 343, 344, 348, 351, 376, 418, 469, 470, 472, 477, 479, 480, 483, 484, 485, 489, 492 - src/components/EventCalendar/YearlyEventCalender.tsx: 49, 50, 51, 52, 58, 59, 60, 61, 144, 145, 146, 147, 148, 149, 152, 153, 158, 159, 160, 161, 163, 164, 181, 189, 244, 245, 246, 247, 251, 254, 280, 281, 282, 284, 289, 315, 330 - src/components/EventListCard/EventListCardModals.tsx: 34, 35, 36, 37, 296, 366 - src/components/EventManagement/EventAgendaItems/EventAgendaItems.tsx: 119, 127, 128, 129 - src/components/EventManagement/EventAttendance/EventAttendance.tsx: 27, 28, 29, 30, 145 - src/components/EventManagement/EventAttendance/EventStatistics.tsx: 123, 125, 133, 138, 274, 279, 285, 329, 330, 332, 333, 335, 337, 339, 340, 342, 344, 346 - src/components/EventRegistrantsModal/AddOnSpotAttendee.tsx: 99 - src/components/HolidayCards/HolidayCard.tsx: 17 - src/components/MemberDetail/customTableCell.tsx: 33, 34, 44, 45 - src/components/MemberRequestCard/MemberRequestCard.tsx: 55, 57, 58, 62, 81, 84 - src/components/OrgAdminListCard/OrgAdminListCard.tsx: 54 - src/components/OrganizationScreen/OrganizationScreen.tsx: 55, 82, 83, 84, 85 - src/components/OrgPeopleListCard/OrgPeopleListCard.tsx: 60, 61, 62, 63, 68 - src/components/OrgPostCard/OrgPostCard.tsx: 64, 70, 103, 107, 108, 111, 112, 116, 120, 121, 124, 125, 511, 515, 516, 517, 518, 560, 564, 565, 566, 567, 568, 569 - src/components/OrgSettings/ActionItemCategories/OrgActionItemCategories.tsx: 27, 28, 29, 32, 33, 34 - src/components/OrgSettings/AgendaItemCategories/OrganizationAgendaCategory.tsx: 98, 99 - src/components/OrgSettings/General/DeleteOrg/DeleteOrg.tsx: 88 - src/components/OrgSettings/General/OrgUpdate/OrgUpdate.tsx: 145, 146, 147, 245 - src/components/Pagination/Pagination.tsx: 41, 44, 67, 70, 80, 83 - src/components/ProfileDropdown/ProfileDropdown.tsx: 47 - src/components/RecurrenceOptions/CustomRecurrenceModal.tsx: 378, 379 - src/components/RequestsTableItem/RequestsTableItem.tsx: 69, 70, 71,
Test Application
The following actions use a deprecated Node.js version and will be forced to run on node20: VeryGoodOpenSource/very_good_coverage@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/