vaadin / hilla

Build better business applications, faster. No more juggling REST endpoints or deciphering GraphQL queries. Hilla seamlessly connects Spring Boot and React to accelerate application development.
https://hilla.dev
Apache License 2.0
926 stars 57 forks source link

test: refactor mock setup in maven plugin tests #2911

Closed mcollovati closed 5 days ago

mcollovati commented 5 days ago

Refactoring required by changes in vaadin/flow#20465.

mcollovati commented 5 days ago

The Flow change will be backported to 24.5 and 24.4, so probably this PR should also be cherry picked.

https://github.com/vaadin/flow/pull/20518 https://github.com/vaadin/flow/pull/20519

codecov[bot] commented 5 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.64%. Comparing base (c67eac4) to head (3c96e3e). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2911 +/- ## ======================================= Coverage 92.64% 92.64% ======================================= Files 83 83 Lines 2842 2842 Branches 739 739 ======================================= Hits 2633 2633 Misses 158 158 Partials 51 51 ``` | [Flag](https://app.codecov.io/gh/vaadin/hilla/pull/2911/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vaadin) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/vaadin/hilla/pull/2911/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vaadin) | `92.64% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vaadin#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features:

sonarcloud[bot] commented 5 days ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud