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: test node-debug #470

Merged
merged 2 commits into from
Aug 23, 2024
Merged

fix: test node-debug #470

merged 2 commits into from
Aug 23, 2024

Conversation

belom88
Copy link
Contributor

@belom88 belom88 commented Aug 22, 2024

This PR fixes yarn test node-debug. I've tested it manually in @loaders.gl repository.

@@ -43,6 +43,10 @@ switch (mode) {
}
break;

case 'node-debug':
runNodeTest(resolveNodeEntry('test'), '', true);
Copy link
Collaborator

Choose a reason for hiding this comment

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

boolean parameters are "evil", no way for reader to know what this means. Use a named option instead?

Suggested change
runNodeTest(resolveNodeEntry('test'), '', true);
runNodeTest(resolveNodeEntry('test'), '', {breakAndInspect: true);

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@ibgreen ibgreen merged commit 066f104 into uber-web:master Aug 23, 2024
4 checks passed
@belom88 belom88 deleted the vb/fix-node-debug branch August 26, 2024 07:15
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