Skip to content

test: add unit tests for sms sending #34742

test: add unit tests for sms sending

test: add unit tests for sms sending #34742

Triggered via pull request May 2, 2024 13:29
@hariombalharahariombalhara
synchronize #14737
Status Success
Total duration 16s
Artifacts

labeler.yml

on: pull_request_target
labeler
2s
labeler
team-labels
8s
team-labels
apply-labels-from-issue
3s
apply-labels-from-issue
Fit to window
Zoom out
Zoom in

Annotations

107 warnings
labeler
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/labeler@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
apply-labels-from-issue
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/github-script@v5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
apply-labels-from-issue
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/github-script@v5. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
team-labels
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, equitybee/team-label-action@main. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
team-labels
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, equitybee/team-label-action@main. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
apps/web/pages/api/auth/two-factor/totp/disable.ts#L26
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/pages/api/auth/two-factor/totp/setup.ts#L28
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/_utils/useAddAppMutation.ts#L30
[@typescript-eslint/no-unused-vars] 'useAddAppMutationVariables' is defined but never used. Allowed unused vars must match /^_/u.
apps/web/pages/api/send-daily-video-transcript.ts#L71
[@typescript-eslint/no-unused-vars] 'meeting_id' is assigned a value but never used. Allowed unused vars must match /^_/u.
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L25
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/pages/settings/my-account/calendars.tsx#L12
[@typescript-eslint/no-unused-vars] 'SkeletonLoader' is assigned a value but never used. Allowed unused vars must match /^_/u.
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L38
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/pages/settings/my-account/profile.tsx#L501
[@typescript-eslint/no-unused-vars] 'isFallbackImg' is defined but never used. Allowed unused args must match /^_/u.
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L41
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/pages/settings/my-account/profile.tsx#L503
[@typescript-eslint/no-unused-vars] 'userOrganization' is defined but never used. Allowed unused args must match /^_/u.
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L42
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/pages/settings/organizations/new/index.tsx#L13
[@typescript-eslint/no-unused-vars] 'querySlug' is defined but never used. Allowed unused args must match /^_/u.
apps/web/pages/team/[slug].tsx#L39
[@typescript-eslint/no-unused-vars] 'currentOrgDomain' is defined but never used. Allowed unused args must match /^_/u.
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L60
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/playwright/ab-tests-redirect.e2e.ts#L27
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L72
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/playwright/ab-tests-redirect.e2e.ts#L43
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L77
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/playwright/ab-tests-redirect.e2e.ts#L59
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L104
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/playwright/ab-tests-redirect.e2e.ts#L75
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/googlecalendar/tests/testUtils.ts#L110
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/ab-tests-redirect.e2e.ts#L91
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/jelly/lib/VideoApiAdapter.ts#L11
[@typescript-eslint/no-unused-vars] 'event' is defined but never used. Allowed unused args must match /^_/u.
apps/web/playwright/ab-tests-redirect.e2e.ts#L107
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/jelly/lib/VideoApiAdapter.ts#L32
[@typescript-eslint/no-unused-vars] 'event' is defined but never used. Allowed unused args must match /^_/u.
apps/web/playwright/ab-tests-redirect.e2e.ts#L123
[playwright/no-conditional-in-test] Avoid having conditionals in tests
apps/web/test/utils/bookingScenario/expects.ts#L389
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/jelly/lib/VideoApiAdapter.ts#L41
[@typescript-eslint/no-unused-vars] 'uid' is defined but never used. Allowed unused args must match /^_/u.
apps/web/playwright/app-store.e2e.ts#L13
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/playwright/fixtures/bookings.ts#L94
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/jelly/lib/VideoApiAdapter.ts#L45
[@typescript-eslint/no-unused-vars] 'dateFrom' is defined but never used. Allowed unused args must match /^_/u.
apps/web/test/utils/bookingScenario/expects.ts#L772
[@typescript-eslint/no-unused-vars] 'organizer' is defined but never used. Allowed unused args must match /^_/u.
apps/web/playwright/fixtures/bookings.ts#L94
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/jelly/lib/VideoApiAdapter.ts#L45
[@typescript-eslint/no-unused-vars] 'dateTo' is defined but never used. Allowed unused args must match /^_/u.
apps/web/playwright/fixtures/users.ts#L577
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/routing-forms/components/getServerSidePropsSingleForm.ts#L92
[@typescript-eslint/no-unused-vars] 'u' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/fixtures/users.ts#L599
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/routing-forms/pages/route-builder/[...appPages].tsx#L149
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'eventOptions' and 'route'. Either include them or remove the dependency array. If 'setCustomEventTypeSlug' needs the current value of 'route', you can also switch to useReducer instead of useState and read 'route' in the reducer.
apps/web/playwright/fixtures/users.ts#L629
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/routing-forms/trpc/forms.handler.ts#L40
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/playwright/fixtures/users.ts#L630
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/zapier/api/subscriptions/listBookings.ts#L18
[@typescript-eslint/no-unused-vars] 'userInfo' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/organization/booking.e2e.ts#L349
[playwright/no-conditional-in-test] Avoid having conditionals in tests
apps/web/playwright/out-of-office.e2e.ts#L14
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
packages/app-store/zapier/api/subscriptions/listBookings.ts#L23
[@typescript-eslint/no-unused-vars] 'teamInfo' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/out-of-office.e2e.ts#L33
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
packages/ui/components/dialog/Dialog.tsx#L214
[@typescript-eslint/no-unused-vars] 'DialogCloseProps' is defined but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/payment-apps.e2e.ts#L235
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/ui/components/form/datepicker/DatePicker.tsx#L17
[@typescript-eslint/no-unused-vars] 'minDate' is defined but never used. Allowed unused args must match /^_/u.
apps/web/playwright/payment-apps.e2e.ts#L281
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/ui/components/image-uploader/BannerUploader.tsx#L130
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'height', 't', and 'width'. Either include them or remove the dependency array.
apps/web/playwright/payment.e2e.ts#L17
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/app/WithAppDirSsg.tsx#L5
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/payment.e2e.ts#L18
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/app/WithAppDirSsr.tsx#L5
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/profile.e2e.ts#L389
[playwright/no-conditional-in-test] Avoid having conditionals in tests
apps/web/app/WithEmbedSSR.tsx#L12
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/signup.e2e.ts#L194
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/app/future/apps/[slug]/[...pages]/page.tsx#L130
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/playwright/teams.e2e.ts#L22
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/app/layoutHOC.tsx#L9
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/teams.e2e.ts#L162
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/playwright/teams.e2e.ts#L167
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/app/layoutHOC.tsx#L16
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/teams.e2e.ts#L202
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/components/eventtype/AIEventController.tsx#L100
[@typescript-eslint/no-unused-vars] 'err' is defined but never used. Allowed unused args must match /^_/u.
apps/web/playwright/teams.e2e.ts#L205
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/components/eventtype/EventAvailabilityTab.tsx#L226
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'eventType.schedule', 'eventType.scheduleName', 'getValues', 'isChildrenManagedEventType', 'isManagedEventType', 'setValue', 't', and 'watchSchedule'. Either include them or remove the dependency array.
apps/web/playwright/webhook.e2e.ts#L488
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/components/eventtype/EventTeamTab.tsx#L282
[@typescript-eslint/no-unused-vars] 't' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/test/lib/team-event-types.test.ts#L79
[@typescript-eslint/no-unused-vars] 'test' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/components/eventtype/EventTypeSingleLayout.tsx#L287
[react-hooks/exhaustive-deps] React Hook useMemo has missing dependencies: 'eventType.id' and 'formMethods'. Either include them or remove the dependency array.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L205
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/components/eventtype/EventTypeSingleLayout.tsx#L299
[react-hooks/exhaustive-deps] React Hook useMemo has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L206
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L207
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/components/settings/SecondaryEmailModal.tsx#L49
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'clearErrorMessage' and 'formMethods'. Either include them or remove the dependency array. If 'clearErrorMessage' changes too often, find the parent component that defines it and wrap that definition in useCallback.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L208
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/components/settings/organizations/platform/oauth-clients/OAuthClientForm.tsx#L90
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'append', 'isError', and 'setValue'. Either include them or remove the dependency array.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L347
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/lib/apps/[slug]/getStaticProps.tsx#L13
[@typescript-eslint/no-unused-vars] 'md' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L348
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/lib/orgMigration.test.ts#L1001
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L479
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/lib/orgMigration.test.ts#L1082
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L480
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/lib/orgMigration.test.ts#L1154
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L481
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/lib/orgMigration.test.ts#L1265
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L484
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/lib/orgMigration.test.ts#L1304
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L487
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/lib/orgMigration.test.ts#L1353
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/expects.ts#L173
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/lib/orgMigration.ts#L261
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/lib/orgMigration.ts#L377
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/lib/team/[slug]/[type]/getServerSideProps.tsx#L26
[@typescript-eslint/no-unused-vars] 'queryDuration' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/middleware.ts#L14
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/modules/users/views/users-public-view.tsx#L28
[@typescript-eslint/no-unused-vars] 't' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/modules/videos/ai/ai-transcribe.tsx#L28
[@typescript-eslint/no-unused-vars] 'ev' is defined but never used. Allowed unused args must match /^_/u.
apps/web/modules/videos/ai/ai-transcribe.tsx#L32
[@typescript-eslint/no-unused-vars] 'ev' is defined but never used. Allowed unused args must match /^_/u.