Skip to content

Commit 3a3f441

Browse files
committed
Remove tests for the xo js formatter, it's consuming too much time.
1 parent c489e7e commit 3a3f441

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

testlib/src/test/java/com/diffplug/spotless/npm/EslintFormatterStepTest.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,10 @@ class EslintJavascriptFormattingStepTest extends NpmFormatterStepCommonTests {
4141
"custom_rules", EslintFormatterStep.defaultDevDependenciesForTypescript(),
4242
"styleguide/airbnb", EslintStyleGuide.JS_AIRBNB.mergedWith(EslintFormatterStep.defaultDevDependencies()),
4343
"styleguide/google", EslintStyleGuide.JS_GOOGLE.mergedWith(EslintFormatterStep.defaultDevDependencies()),
44-
"styleguide/standard", EslintStyleGuide.JS_STANDARD.mergedWith(EslintFormatterStep.defaultDevDependencies()),
45-
"styleguide/xo", EslintStyleGuide.JS_XO.mergedWith(EslintFormatterStep.defaultDevDependencies()));
44+
"styleguide/standard", EslintStyleGuide.JS_STANDARD.mergedWith(EslintFormatterStep.defaultDevDependencies()));
4645

4746
@ParameterizedTest(name = "{index}: eslint can be applied using ruleset {0}")
48-
@ValueSource(strings = {"custom_rules", "styleguide/airbnb", "styleguide/google", "styleguide/standard", "styleguide/xo"})
47+
@ValueSource(strings = {"custom_rules", "styleguide/airbnb", "styleguide/google", "styleguide/standard"})
4948
void formattingUsingRulesetsFile(String ruleSetName) throws Exception {
5049
String filedir = "npm/eslint/javascript/" + ruleSetName + "/";
5150

@@ -79,11 +78,10 @@ class EslintTypescriptFormattingStepTest extends NpmFormatterStepCommonTests {
7978

8079
private final Map<String, Map<String, String>> devDependenciesForRuleset = ImmutableMap.of(
8180
"custom_rules", EslintFormatterStep.defaultDevDependenciesForTypescript(),
82-
"styleguide/standard_with_typescript", EslintStyleGuide.TS_STANDARD_WITH_TYPESCRIPT.mergedWith(EslintFormatterStep.defaultDevDependenciesForTypescript()),
83-
"styleguide/xo", EslintStyleGuide.TS_XO_TYPESCRIPT.mergedWith(EslintFormatterStep.defaultDevDependenciesForTypescript()));
81+
"styleguide/standard_with_typescript", EslintStyleGuide.TS_STANDARD_WITH_TYPESCRIPT.mergedWith(EslintFormatterStep.defaultDevDependenciesForTypescript()));
8482

8583
@ParameterizedTest(name = "{index}: eslint can be applied using ruleset {0}")
86-
@ValueSource(strings = {"custom_rules", "styleguide/standard_with_typescript", "styleguide/xo"})
84+
@ValueSource(strings = {"custom_rules", "styleguide/standard_with_typescript"})
8785
void formattingUsingRulesetsFile(String ruleSetName) throws Exception {
8886
String filedir = "npm/eslint/typescript/" + ruleSetName + "/";
8987

0 commit comments

Comments
 (0)