Skip to content

Commit

Permalink
Fix tests for vaadin 22 (open-telemetry#4761)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit authored and RashmiRam committed May 23, 2022
1 parent d1cf603 commit 69f3356
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@ abstract class AbstractVaadin16Test extends AbstractVaadinTest {
static final boolean VAADIN_17 = Version.majorVersion >= 4
static final boolean VAADIN_19 = Version.majorVersion >= 6
static final boolean VAADIN_21 = Version.majorVersion >= 8
static final boolean VAADIN_22 = Version.majorVersion >= 9

@Override
List<String> getRequestHandlers() {
List<String> handlers = []
if (VAADIN_21) {
if (VAADIN_22) {
handlers.add("WebpackHandler")
} else if (VAADIN_21) {
handlers.add("DevModeHandlerImpl")
}
handlers.add("PushRequestHandler")
Expand Down

0 comments on commit 69f3356

Please sign in to comment.