From ee8b0ddb1c5f6b1c70e91554fb00256accfadbfb Mon Sep 17 00:00:00 2001 From: Minh Nguyen Date: Thu, 4 Aug 2022 09:33:23 +1000 Subject: [PATCH] Fix Jest tests not runnable (#13) * Update NonBlazeProducerSuppressor.java Co-authored-by: Uri Baghin --- .../javascript/run/producers/NonBlazeProducerSuppressor.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/javascript/src/com/google/idea/blaze/javascript/run/producers/NonBlazeProducerSuppressor.java b/javascript/src/com/google/idea/blaze/javascript/run/producers/NonBlazeProducerSuppressor.java index 4996b68864a..3b04b764a2e 100644 --- a/javascript/src/com/google/idea/blaze/javascript/run/producers/NonBlazeProducerSuppressor.java +++ b/javascript/src/com/google/idea/blaze/javascript/run/producers/NonBlazeProducerSuppressor.java @@ -19,7 +19,6 @@ import com.google.idea.blaze.base.settings.Blaze; import com.intellij.execution.RunConfigurationProducerService; import com.intellij.execution.actions.RunConfigurationProducer; -import com.intellij.javascript.jest.JestRunConfigurationProducer; import com.intellij.javascript.protractor.ProtractorRunConfigurationProducer; import com.intellij.lang.javascript.buildTools.grunt.rc.GruntRunConfigurationProducer; import com.intellij.lang.javascript.buildTools.gulp.rc.GulpRunConfigurationProducer; @@ -39,7 +38,9 @@ public class NonBlazeProducerSuppressor implements StartupActivity { private static final ImmutableList>> PRODUCERS_TO_SUPPRESS = ImmutableList.of( - JestRunConfigurationProducer.class, + // Not suppressing JestRunConfigurationProduce since that prevents Jest tests from + // running properly, see https://github.com/bazelbuild/intellij/issues/3629 + // JestRunConfigurationProducer.class, GruntRunConfigurationProducer.class, ProtractorRunConfigurationProducer.class, GulpRunConfigurationProducer.class,