Skip to content
This repository was archived by the owner on May 14, 2021. It is now read-only.

Commit 0760875

Browse files
committed
Fix lint
1 parent 349627c commit 0760875

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

test/utils.test.js

+8-10
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,14 @@ const fixIndentation = require('../src/utils/general').fixIndentation
1111
const extrapolateShortenedCommand = require('../src/utils/general').extrapolateShortenedCommand
1212
const removeBaseIndentation = require('../src/utils/general').removeBaseIndentation
1313

14-
const mockLoc = (startLine, endLine) => {
15-
return {
16-
start: {
17-
line: startLine
18-
},
19-
end: {
20-
line: endLine
21-
}
14+
const mockLoc = (startLine, endLine) => ({
15+
start: {
16+
line: startLine
17+
},
18+
end: {
19+
line: endLine
2220
}
23-
}
21+
})
2422

2523
describe('utils', () => {
2624
describe('interleave', () => {
@@ -48,7 +46,7 @@ describe('utils', () => {
4846
loc: mockLoc(3, 5),
4947
value: {
5048
raw: ';\n background: blue;\n'
51-
},
49+
}
5250
}
5351
]
5452
const expressions = [

0 commit comments

Comments
 (0)