Skip to content

Commit 6d3eb81

Browse files
committed
chore: apply prettier -w
1 parent 5c0d205 commit 6d3eb81

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

tests/lib/utils.js

+15-3
Original file line numberDiff line numberDiff line change
@@ -1099,8 +1099,14 @@ describe('utils', () => {
10991099
loc: false,
11001100
range: false,
11011101
}).body[0].expression;
1102-
const parsedArgs = node.arguments
1103-
const context = { sourceCode: { getScope() { return {} } } }; // mock object
1102+
const parsedArgs = node.arguments;
1103+
const context = {
1104+
sourceCode: {
1105+
getScope() {
1106+
return {};
1107+
},
1108+
},
1109+
}; // mock object
11041110
const reportInfo = utils.getReportInfo(node, context);
11051111

11061112
assert.deepEqual(reportInfo, CASES.get(args)(parsedArgs));
@@ -1273,7 +1279,13 @@ describe('utils', () => {
12731279
ecmaVersion: 6,
12741280
range: true,
12751281
});
1276-
const context = { sourceCode: { getScope() { return {} } } }; // mock object
1282+
const context = {
1283+
sourceCode: {
1284+
getScope() {
1285+
return {};
1286+
},
1287+
},
1288+
}; // mock object
12771289
const reportNode = ast.body[0].expression;
12781290
const reportInfo = utils.getReportInfo(reportNode, context);
12791291
const data = utils.collectReportViolationAndSuggestionData(reportInfo);

0 commit comments

Comments
 (0)