Skip to content

[testing] Really run dotnetutils tests #2179

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

Merged
merged 2 commits into from
Aug 17, 2025

Conversation

prabhu
Copy link
Collaborator

@prabhu prabhu commented Aug 17, 2025

Related: #2158

dotnetutils.test.js wasn't added to package.json, so it wasn't actually running. I was running unit tests from the IDE and assumed everything was working. Unfortunately, one of the unit tests was referring to the incorrect property packageName instead of name, so it was broken. Fortunately, the function in utils.js was referring to the correct property, so the end users aren't affected.

Why didn't biome catch this? Because we disabled linting for unit tests. That's why you should use TypeScript or Rust, did you say? Yes, I agree.

Also updated packages.

Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
@prabhu prabhu added lang:dotnet test Enhancements to test coverage or quality labels Aug 17, 2025
@prabhu prabhu requested a review from malice00 August 17, 2025 14:41
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
@prabhu prabhu merged commit 874c5ea into master Aug 17, 2025
79 of 80 checks passed
@prabhu prabhu deleted the fix/actually-run-dotnetutils-tests branch August 17, 2025 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang:dotnet test Enhancements to test coverage or quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants