Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix googleApisSetRequestExtraParams #6455

Merged
merged 5 commits into from
Jul 30, 2024
Merged

Fix googleApisSetRequestExtraParams #6455

merged 5 commits into from
Jul 30, 2024

Conversation

Weiko
Copy link
Member

@Weiko Weiko commented Jul 30, 2024

No description provided.

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

The changes simplify the test cases for google-apis-set-request-extra-params.util.spec.ts by replacing enum usage with string literals.

  • Modified packages/twenty-server/src/engine/core-modules/auth/utils/__tests__/google-apis-set-request-extra-params.util.spec.ts to use string literals instead of CalendarChannelVisibility and MessageChannelVisibility enums.
  • Ensures setRequestExtraParams function is tested with string literals for calendarVisibility and messageVisibility.
  • Aligns test cases with the function's expected input types, improving clarity.
  • No potential pitfalls or security issues identified, but ensure the function handles string literals correctly.

1 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings

Copy link
Contributor

@bosiraphael bosiraphael left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Weiko Weiko merged commit b85ae7e into main Jul 30, 2024
13 of 14 checks passed
@Weiko Weiko deleted the c--fix-ci branch July 30, 2024 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants