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

Reduce raw code statements #253

Conversation

chrisdp
Copy link
Collaborator

@chrisdp chrisdp commented Jan 18, 2024

Requires #250

Removes some usages of raw code statements fixing tons of oddities in tests related to indentation issues. Also cleans up a lot of the tests so that they are now all testing the saw way rather then some stripping all indentations and others not doing this.

Copy link
Collaborator

@georgejecook georgejecook left a comment

Choose a reason for hiding this comment

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

Agree with everything here, in principal; but want to get the other 2 prs in, an this one merged and 💯 ready, and play with it locally. Will pm you on slack tomorrow, to follow up, @chrisdp

@@ -79,29 +77,53 @@ export class MockUtil {
return;
}

let isDisabledFoMocking = functionStatement.annotations?.find(x => x.name.toLowerCase() === 'disablemocking');
Copy link
Collaborator

Choose a reason for hiding this comment

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

is this a part of another pr? I'm happy with it; but it seems beyond the scope of this prs description.

@chrisdp
Copy link
Collaborator Author

chrisdp commented Jan 21, 2024

@georgejecook all the PRs I have open are branches of each other so you should be able to just test on #254 as it was the last one that was branched.

@chrisdp chrisdp changed the base branch from master to reduce-raw-code-statements January 22, 2024 16:49
@chrisdp chrisdp marked this pull request as ready for review January 22, 2024 16:50
@chrisdp chrisdp merged commit ed3d6b6 into rokucommunity:reduce-raw-code-statements Jan 22, 2024
4 checks passed
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