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

chore: add script to check remaining node compat cases #27122

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kt3k
Copy link
Member

@kt3k kt3k commented Nov 28, 2024

This PR adds a script to check the remaining node compat test cases. (challenge_new_test.ts)

The script copies the remaining test case from vendored node.js test files, and run and check the result one by one. It reports the passing test cases at the end.

This PR also slightly changes how to count the 'remaining' cases. Now we exclude the items in ignore section of config.jsonc because these test cases are somehow executed with some manual modification on our side (They are only ignored in 'copying' process). This changes ported test percentage from 16.16% to 17.33%.

The addition of actual test cases found by this script will follow this PR.

Screenshot 2024-11-28 at 15 06 00 Screenshot 2024-11-28 at 15 07 13

kt3k added a commit that referenced this pull request Dec 4, 2024
This PR enables node compat test cases found passing by using the tool
added in #27122

The percentage of passing test case increases from 16.16% to 30.43% by
this change.
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.

1 participant