Skip to content

Unit tests to validate C# logic and calls to js interop#5

Open
JelleBootsma wants to merge 2 commits intoAuthor-e:mainfrom
JelleBootsma:main
Open

Unit tests to validate C# logic and calls to js interop#5
JelleBootsma wants to merge 2 commits intoAuthor-e:mainfrom
JelleBootsma:main

Conversation

@JelleBootsma
Copy link
Contributor

This PR adds foundational unit tests for the C# portion of the BlazorObservers library and updates the CI workflow to include test execution.
📌 Changes
➕ Added ObserverLibraryTests project with NUnit-based unit tests.
🧪 Implemented tests for ResizeObserverService and ResizeTask with coverage for key functionality and edge cases.
🔧 Updated .github/workflows/dotnet.yml to run dotnet test.
🧹 Minor code improvements (e.g., better exception messages).

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