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

cleanup: Remove unused methods of Focus.ts add test coverage. #979

Merged
merged 4 commits into from
Feb 7, 2025

Conversation

lbrooks
Copy link
Contributor

@lbrooks lbrooks commented Jan 5, 2025

Removing a number of the unused methods of src/api/focus/Focus.ts, adding type definitions for various values, adding tests to cover the majority of the file.

@lbrooks lbrooks marked this pull request as draft January 6, 2025 02:20
@lbrooks
Copy link
Contributor Author

lbrooks commented Jan 6, 2025

The "code used" function within WebStorm failed to find uses of some of the removed methods. Need to revive some of the ones that are actually used.

@lbrooks
Copy link
Contributor Author

lbrooks commented Jan 6, 2025

False alarm, references to addCommands and addMethod were all commented out.

@lbrooks lbrooks marked this pull request as ready for review January 6, 2025 02:28
@alexpargon alexpargon merged commit e38e376 into Dygmalab:development Feb 7, 2025
3 checks passed
@lbrooks lbrooks deleted the focus-tests branch February 7, 2025 18:49
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