From cfbcbe8f0ceca18a781f8d78f4c0af54d8e260a4 Mon Sep 17 00:00:00 2001 From: Sergey Simonchik Date: Sat, 19 Dec 2020 01:38:34 +0300 Subject: [PATCH] jest: use coverageDirectory from jest config, do not overwrite coverageReporters configured in jest config (WEB-48673) GitOrigin-RevId: c62c0b629ebf941d4a6e5ad47cfa3066000b72c6 --- .../sm/runner/OutputToGeneralTestEventsConverter.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/platform/smRunner/src/com/intellij/execution/testframework/sm/runner/OutputToGeneralTestEventsConverter.java b/platform/smRunner/src/com/intellij/execution/testframework/sm/runner/OutputToGeneralTestEventsConverter.java index c1475fd39e3f..9c2087c25404 100644 --- a/platform/smRunner/src/com/intellij/execution/testframework/sm/runner/OutputToGeneralTestEventsConverter.java +++ b/platform/smRunner/src/com/intellij/execution/testframework/sm/runner/OutputToGeneralTestEventsConverter.java @@ -126,11 +126,14 @@ public class OutputToGeneralTestEventsConverter implements ProcessOutputConsumer @NotNull ServiceMessageVisitor visitor) throws ParseException { ServiceMessage message = ServiceMessageUtil.parse(text.trim(), myValidateServiceMessagesAttributes, true, myTestFrameworkName); if (message != null) { - message.visit(visitor); + processServiceMessage(message, visitor); } return message != null; } + protected void processServiceMessage(@NotNull ServiceMessage message, @NotNull ServiceMessageVisitor visitor) throws ParseException { + message.visit(visitor); + } private void fireOnTestStarted(@NotNull TestStartedEvent testStartedEvent) { // local variable is used to prevent concurrent modification