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 ZodNativeEnum mocks #139

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

Conversation

ridem
Copy link

@ridem ridem commented Jul 4, 2023

This PR:

  • Fixes the ZodNativeEnum tests which were a no-op (expect() were alone)
  • Adds a test to properly check that both string and number enums are supported. The test suite was failing for ZodNativeEnum
  • Changes parseNativeEnum to a version that supports both string and number enums

@nx-cloud
Copy link

nx-cloud bot commented Jul 4, 2023

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 5c7dccb. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 2 targets

Sent with 💌 from NxCloud.

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