Skip to content

test: add isExactVersions tests - #893

Merged
danielroe merged 1 commit into
mainfrom
jg/test-semantically-nonsense
Feb 3, 2026
Merged

test: add isExactVersions tests#893
danielroe merged 1 commit into
mainfrom
jg/test-semantically-nonsense

Conversation

@43081j

Copy link
Copy Markdown
Contributor

No description provided.

@vercel

vercelBot commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentActionsUpdated (UTC)
npmx.devReadyReadyPreview, CommentFeb 3, 2026 10:08pm
2 Skipped Deployments
ProjectDeploymentActionsUpdated (UTC)
docs.npmx.devIgnoredIgnoredPreviewFeb 3, 2026 10:08pm
npmx-lunariaIgnoredIgnoredFeb 3, 2026 10:08pm

Request Review

@codecov

codecovBot commented Feb 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@coderabbitai

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

A new exported function isExactVersion(version: string) was added to the versions utility module. The function validates whether a provided version string represents an exact version number. Accompanying test coverage was introduced in the test suite, verifying that the function returns true for exact stable and prerelease versions, and returns false for version ranges, dist-tags, and invalid strings. This addition expands the public API surface of the versions utility without modifying existing functionality.

🚥 Pre-merge checks | ❌ 1
❌ Failed checks (1 warning)
Check nameStatusExplanationResolution
Description check⚠️ WarningThe pull request has no description provided by the author, making it impossible to assess whether the description relates to the changeset.Add a pull request description that explains the purpose, changes, and rationale for adding isExactVersion tests to help reviewers understand the intent.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch jg/test-semantically-nonsense

Comment @coderabbitai help to get the list of available commands and usage tips.

@danielroe
danielroe added this pull request to the merge queueFeb 3, 2026
Merged via the queue into main with commit c4755edFeb 3, 2026
19 checks passed
@danielroe
danielroe deleted the jg/test-semantically-nonsense branch February 3, 2026 22:21
Sign up for freeto 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

@43081j@danielroe