Skip to content

fix: Resolve lint errors by updating RerouteDialog.test.tsx#17352

Merged
anikdhabal merged 1 commit into
calcom:mainfrom
mavishay:patch-1
Oct 28, 2024
Merged

fix: Resolve lint errors by updating RerouteDialog.test.tsx#17352
anikdhabal merged 1 commit into
calcom:mainfrom
mavishay:patch-1

Conversation

@mavishay
Copy link
Copy Markdown
Contributor

What does this PR do?

Another step of fixing build by fixing pre-running lint errors
image

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • I didn't updated the developer docs.
  • I confirm automated tests are in place that prove my fix is effective or that my feature works.

How should this be tested?

  • Install dependencies by running yarn
  • Running yarn --cwd apps/web workspace @calcom/web run build and see the error disappear

@vercel
Copy link
Copy Markdown

vercel Bot commented Oct 27, 2024

@mavishay is attempting to deploy a commit to the cal Team on Vercel.

A member of the Team first needs to authorize it.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Oct 27, 2024

CLA assistant check
All committers have signed the CLA.

@dosubot dosubot Bot added the 🧹 Improvements Improvements to existing features. Mostly UX/UI label Oct 27, 2024
@graphite-app graphite-app Bot added the community Created by Linear-GitHub Sync label Oct 27, 2024
@graphite-app graphite-app Bot requested a review from a team October 27, 2024 07:04
@graphite-app
Copy link
Copy Markdown

graphite-app Bot commented Oct 27, 2024

Graphite Automations

"Add consumer team as reviewer" took an action on this PR • (10/27/24)

1 reviewer was added to this PR based on Keith Williams's automation.

"Add community label" took an action on this PR • (10/27/24)

1 label was added to this PR based on Keith Williams's automation.

@Praashh Praashh self-assigned this Oct 27, 2024
Copy link
Copy Markdown
Contributor

@Praashh Praashh left a comment

Choose a reason for hiding this comment

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

can you remove this, don't think we need async function here.

expect(eventTypeEl).toHaveTextContent(eventTypeText);
expect(eventTypeEl.querySelector("a")).toHaveAttribute("href", eventTypeHref);
await expect(eventTypeEl.querySelector("a")).toHaveAttribute("href", eventTypeHref);
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

don't think, await are necessary. Can you share some references to look at the fix?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey @Praashh I think it's okay, as it's just fixing the lint error

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

sure

@github-actions
Copy link
Copy Markdown
Contributor

E2E results are ready!

@anikdhabal anikdhabal enabled auto-merge (squash) October 28, 2024 17:18
@anikdhabal anikdhabal merged commit 2efa593 into calcom:main Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Created by Linear-GitHub Sync 🧹 Improvements Improvements to existing features. Mostly UX/UI ready-for-e2e

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants