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

Get rid of tests package and just use @ethdebug/format #136

Merged
merged 1 commit into from
Feb 13, 2025
Merged

Conversation

gnidan
Copy link
Member

@gnidan gnidan commented Feb 13, 2025

The private @ethdebug/format-tests package has always bothered me because it's testing the schemas, and @ethdebug/format is the NPM package that distributes the schemas, so that's the package that really should have these tests. Unfortunately, jest doesn't play too nicely with ESM, and the schema validator these tests use (@hyperjump/json-schema) is ESM only.

Now that this project has switched over to vitest, this becomes relatively painless.

@gnidan gnidan marked this pull request as ready for review February 13, 2025 01:53
@gnidan gnidan merged commit afb983a into main Feb 13, 2025
3 checks passed
@gnidan gnidan deleted the format-tests branch February 13, 2025 01:56
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