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);