From e95cf1a126602236a75dbcca66675dc1fc961e96 Mon Sep 17 00:00:00 2001 From: Flo Edelmann Date: Fri, 12 Dec 2025 15:34:57 +0100 Subject: [PATCH] test: remove `errors` and `output` from valid test cases --- tests/lib/rules/html-self-closing.js | 1 - .../rules/no-deprecated-props-default-this.js | 3 +-- tests/lib/rules/no-parsing-error.js | 9 +++------ .../lib/rules/no-setup-props-reactivity-loss.js | 16 ++-------------- 4 files changed, 6 insertions(+), 23 deletions(-) diff --git a/tests/lib/rules/html-self-closing.js b/tests/lib/rules/html-self-closing.js index 37991580a..b115cfa1e 100644 --- a/tests/lib/rules/html-self-closing.js +++ b/tests/lib/rules/html-self-closing.js @@ -56,7 +56,6 @@ tester.run('html-self-closing', rule, { // Don't error if there are comments in their content. { code: '', - output: null, options: [{ html: { normal: 'always' } }] }, diff --git a/tests/lib/rules/no-deprecated-props-default-this.js b/tests/lib/rules/no-deprecated-props-default-this.js index ed0b2005d..c3be42a8f 100644 --- a/tests/lib/rules/no-deprecated-props-default-this.js +++ b/tests/lib/rules/no-deprecated-props-default-this.js @@ -71,8 +71,7 @@ ruleTester.run('no-deprecated-props-default-this', rule, { } } - `, - errors: [{}, {}] + ` }, { filename: 'test.vue', diff --git a/tests/lib/rules/no-parsing-error.js b/tests/lib/rules/no-parsing-error.js index 54194a7b5..9225e4bda 100644 --- a/tests/lib/rules/no-parsing-error.js +++ b/tests/lib/rules/no-parsing-error.js @@ -80,13 +80,11 @@ tester.run('no-parsing-error', rule, { }, { code: '