From b82ee439c899694e2e1cd2dfc4f06fa9c1cd784e Mon Sep 17 00:00:00 2001 From: Luka Prebil Grintal Date: Tue, 28 Jul 2020 09:22:56 +0200 Subject: [PATCH] fix unexpected trailing commas --- test/rules/no-skipped-tests.js | 42 +++++++++++++++++----------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/test/rules/no-skipped-tests.js b/test/rules/no-skipped-tests.js index 6c0896b..91bf89c 100644 --- a/test/rules/no-skipped-tests.js +++ b/test/rules/no-skipped-tests.js @@ -26,84 +26,84 @@ ruleTester.run('no-skipped-tests', rules['no-skipped-tests'], { invalid: [ { code: 'describe.skip()', - errors: [ { message: expectedErrorMessage, column: 10, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 10, line: 1 } ] }, { code: 'describe["skip"]()', - errors: [ { message: expectedErrorMessage, column: 10, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 10, line: 1 } ] }, { code: 'xdescribe()', - errors: [ { message: expectedErrorMessage, column: 1, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 1, line: 1 } ] }, { code: 'it.skip()', - errors: [ { message: expectedErrorMessage, column: 4, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 4, line: 1 } ] }, { code: 'it["skip"]()', - errors: [ { message: expectedErrorMessage, column: 4, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 4, line: 1 } ] }, { code: 'xit()', - errors: [ { message: expectedErrorMessage, column: 1, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 1, line: 1 } ] }, { code: 'suite.skip()', - errors: [ { message: expectedErrorMessage, column: 7, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 7, line: 1 } ] }, { code: 'suite["skip"]()', - errors: [ { message: expectedErrorMessage, column: 7, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 7, line: 1 } ] }, { code: 'test.skip()', - errors: [ { message: expectedErrorMessage, column: 6, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 6, line: 1 } ] }, { code: 'test["skip"]()', - errors: [ { message: expectedErrorMessage, column: 6, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 6, line: 1 } ] }, { code: 'context.skip()', - errors: [ { message: expectedErrorMessage, column: 9, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 9, line: 1 } ] }, { code: 'context["skip"]()', - errors: [ { message: expectedErrorMessage, column: 9, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 9, line: 1 } ] }, { code: 'xcontext()', - errors: [ { message: expectedErrorMessage, column: 1, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 1, line: 1 } ] }, { code: 'specify.skip()', - errors: [ { message: expectedErrorMessage, column: 9, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 9, line: 1 } ] }, { code: 'xspecify()', - errors: [ { message: expectedErrorMessage, column: 1, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 1, line: 1 } ] }, { code: 'custom.skip()', settings: { 'mocha/additionalTestFunctions': [ 'custom' ] }, - errors: [ { message: expectedErrorMessage, column: 8, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 8, line: 1 } ] }, { code: 'custom["skip"]()', settings: { 'mocha/additionalTestFunctions': [ 'custom' ] }, - errors: [ { message: expectedErrorMessage, column: 8, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 8, line: 1 } ] }, { code: 'xcustom()', settings: { 'mocha/additionalXFunctions': [ 'xcustom' ] }, - errors: [ { message: expectedErrorMessage, column: 1, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 1, line: 1 } ] }, { code: 'custom.skip()', @@ -112,7 +112,7 @@ ruleTester.run('no-skipped-tests', rules['no-skipped-tests'], { additionalTestFunctions: [ 'custom' ] } }, - errors: [ { message: expectedErrorMessage, column: 8, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 8, line: 1 } ] }, { code: 'custom["skip"]()', @@ -121,7 +121,7 @@ ruleTester.run('no-skipped-tests', rules['no-skipped-tests'], { additionalTestFunctions: [ 'custom' ] } }, - errors: [ { message: expectedErrorMessage, column: 8, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 8, line: 1 } ] }, { code: 'xcustom()', @@ -130,7 +130,7 @@ ruleTester.run('no-skipped-tests', rules['no-skipped-tests'], { additionalXFunctions: [ 'xcustom' ] } }, - errors: [ { message: expectedErrorMessage, column: 1, line: 1 } ], + errors: [ { message: expectedErrorMessage, column: 1, line: 1 } ] } ]