From 22227b0fb752aa38f2f5dc8cf52d21040a57eef1 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Thu, 31 Jul 2025 22:05:43 +0200 Subject: [PATCH] test(no-multiple-objects-in-class): make tests more strict --- .../lib/rules/no-multiple-objects-in-class.js | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/tests/lib/rules/no-multiple-objects-in-class.js b/tests/lib/rules/no-multiple-objects-in-class.js index 0c1a4d1b4..ab019f020 100644 --- a/tests/lib/rules/no-multiple-objects-in-class.js +++ b/tests/lib/rules/no-multiple-objects-in-class.js @@ -26,7 +26,11 @@ ruleTester.run('no-multiple-objects-in-class', rule, { errors: [ { message: 'Unexpected multiple objects. Merge objects.', - type: 'VAttribute' + type: 'VAttribute', + line: 1, + column: 16, + endLine: 1, + endColumn: 63 } ] }, @@ -35,7 +39,11 @@ ruleTester.run('no-multiple-objects-in-class', rule, { errors: [ { message: 'Unexpected multiple objects. Merge objects.', - type: 'VAttribute' + type: 'VAttribute', + line: 1, + column: 16, + endLine: 1, + endColumn: 57 } ] }, @@ -46,7 +54,11 @@ ruleTester.run('no-multiple-objects-in-class', rule, { errors: [ { message: 'Unexpected multiple objects. Merge objects.', - type: 'VAttribute' + type: 'VAttribute', + line: 1, + column: 16, + endLine: 1, + endColumn: 64 } ] } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy