Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Add ESLint Jest #10261

Merged
merged 6 commits into from
Mar 1, 2023
Merged

Add ESLint Jest #10261

merged 6 commits into from
Mar 1, 2023

Conversation

weeman1337
Copy link
Contributor

@weeman1337 weeman1337 commented Feb 28, 2023

Should be reviewed commit wise.

This is a start. Uses the same Jest rules as JS SDK which was added in matrix-org/matrix-js-sdk#2973

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

This change is marked as an internal change (Task), so will not be included in the changelog.

@weeman1337 weeman1337 added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Feb 28, 2023
@weeman1337 weeman1337 force-pushed the weeman1337/jest-eslint branch from cb15afc to a44554f Compare March 1, 2023 10:19
@weeman1337 weeman1337 marked this pull request as ready for review March 1, 2023 12:13
@weeman1337 weeman1337 requested review from a team as code owners March 1, 2023 12:13
Comment on lines 298 to 299
// TODO: We currently can’t test finding rooms on other homeservers/other protocols
// We obviously don’t have federation or bridges in cypress tests
Copy link
Member

Choose a reason for hiding this comment

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

cy.intercept is a thing, not sure why we "can't"

Unrelated to this PR off

@weeman1337 weeman1337 requested a review from t3chguy March 1, 2023 14:23
@weeman1337 weeman1337 merged commit 5398db2 into develop Mar 1, 2023
@weeman1337 weeman1337 deleted the weeman1337/jest-eslint branch March 1, 2023 15:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants