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

test(ext/node): more node compat tests #17827

Merged
merged 3 commits into from
Feb 20, 2023

Conversation

kt3k
Copy link
Member

@kt3k kt3k commented Feb 20, 2023

part of #17779

This PR adds the remaining ~650 Node.js compat test cases from std/node.

Among these 650 cases, about 130 cases are now failing. These failing cases are prefixed with TODO: in tests/node_compat/config.json. These will be addressed in later PRs.

@kt3k kt3k requested a review from bartlomieju February 20, 2023 05:59
@bartlomieju
Copy link
Member

It seems this causes about ~4 min spike in CI time. I think it's worth it for now and we can look into optimizing the CI runtime in a followup. @kt3k if I wanted to run any of the failing tests locally, how would I do it?

@kt3k
Copy link
Member Author

kt3k commented Feb 20, 2023

@bartlomieju The failing test cases are prefixed with TODO: in cli/tests/node_compat/config.json like "TODO:test-buffer-alloc.js" (these cases are skipped in test execution). You can enable them by removing that TODO: prefix in config.json. (The all test files (which previously were passing in std/node) are already included in this PR)

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM

@bartlomieju bartlomieju merged commit 6915a9b into denoland:main Feb 20, 2023
@kt3k kt3k deleted the more-node-compat-tests branch February 21, 2023 00:51
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