From 7b759f155308b7008375446363e4bec7fb1e5e58 Mon Sep 17 00:00:00 2001 From: Michal Zgliczynski Date: Tue, 12 Nov 2024 12:13:42 +0100 Subject: [PATCH] S1607 for tests should extend TestFileCheck --- .../java/org/sonar/javascript/checks/NoSkippedTestsCheck.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSkippedTestsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSkippedTestsCheck.java index d7c35f68f24..489ab3a058f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSkippedTestsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSkippedTestsCheck.java @@ -20,14 +20,14 @@ package org.sonar.javascript.checks; import org.sonar.check.Rule; -import org.sonar.plugins.javascript.api.Check; import org.sonar.plugins.javascript.api.JavaScriptRule; +import org.sonar.plugins.javascript.api.TestFileCheck; import org.sonar.plugins.javascript.api.TypeScriptRule; @JavaScriptRule @TypeScriptRule @Rule(key = "S1607") -public class NoSkippedTestsCheck extends Check { +public class NoSkippedTestsCheck extends TestFileCheck { }