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(tests): replace tap with node:test #286

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

chore(tests): replace tap with node:test #286

wants to merge 4 commits into from

Conversation

Pupix
Copy link

@Pupix Pupix commented Jan 29, 2025

The tests themselves should be good, but I am not sure about the other files around them. I see previously there was a test and test:ci with different reporters that would create their respective results in a coverage directory but the results are not being used anywhere.

If they do need to still be around then we may have to wait until node:test has parity with tap or use custom reporters. Something I noticed for example is that node would fail to save the coverage files if they were supposed to be in a directory, due to typical fs.writeFile behavior that expects the path up to the file to already exist.

Copy link

No linked issues found. Please add the corresponding issues in the pull request description.
Use GitHub automation to close the issue when a PR is merged

@Pupix
Copy link
Author

Pupix commented Jan 29, 2025

Looks like node 16 doesn't have those testing flags.

@simoneb
Copy link
Member

simoneb commented Jan 29, 2025

Looks like node 16 doesn't have those testing flags.

No, and we can drop Node < 20, and add 22

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