From 6d3eb81a3f070279546be3802498b7274cf56e0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Fri, 8 Dec 2023 15:44:37 +0800 Subject: [PATCH] chore: apply prettier -w --- tests/lib/utils.js | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/tests/lib/utils.js b/tests/lib/utils.js index e60b0be8..ae8dd427 100644 --- a/tests/lib/utils.js +++ b/tests/lib/utils.js @@ -1099,8 +1099,14 @@ describe('utils', () => { loc: false, range: false, }).body[0].expression; - const parsedArgs = node.arguments - const context = { sourceCode: { getScope() { return {} } } }; // mock object + const parsedArgs = node.arguments; + const context = { + sourceCode: { + getScope() { + return {}; + }, + }, + }; // mock object const reportInfo = utils.getReportInfo(node, context); assert.deepEqual(reportInfo, CASES.get(args)(parsedArgs)); @@ -1273,7 +1279,13 @@ describe('utils', () => { ecmaVersion: 6, range: true, }); - const context = { sourceCode: { getScope() { return {} } } }; // mock object + const context = { + sourceCode: { + getScope() { + return {}; + }, + }, + }; // mock object const reportNode = ast.body[0].expression; const reportInfo = utils.getReportInfo(reportNode, context); const data = utils.collectReportViolationAndSuggestionData(reportInfo);