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 eslint rules and types of tests #6103

Merged
merged 7 commits into from
Jun 14, 2024

Conversation

Latropos
Copy link
Contributor

@Latropos Latropos commented Jun 11, 2024

Summary

Since we have introduced monorepo code of example application was provided with more restrictive eslint rules, so I have to either fix runtime tests or disable some of the rules. I do both depending on the case.

  • Override eslint rule no-template-curly-in-string, because of test-each syntax uses string slooking like string template
  • Fix all the type errors, refactor RuntimeTestsApi.ts, to rewrite types of test & describe
  • Fix imports and ignore most of other rules

Test plan

Tested on IOS

@Latropos Latropos requested a review from tjzel June 11, 2024 18:26
@Latropos Latropos marked this pull request as ready for review June 11, 2024 18:26
Copy link
Collaborator

@tjzel tjzel left a comment

Choose a reason for hiding this comment

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

I need some answers.

@piaskowyk
Copy link
Member

The name of this PR is a bit misleading because it does more than just fixing monorepo compatibility

@piaskowyk piaskowyk self-requested a review June 12, 2024 09:04
@Latropos Latropos changed the title Fix runtime tests after introducing monorepo Fix eslint rules and types of tests Jun 12, 2024
Copy link
Member

@piaskowyk piaskowyk left a comment

Choose a reason for hiding this comment

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

ok for me 👍

@Latropos Latropos requested a review from tjzel June 13, 2024 10:37
@Latropos Latropos enabled auto-merge June 14, 2024 10:41
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.

3 participants