Skip to content

Commit 5d1de64

Browse files
Linting
1 parent 4aa48d3 commit 5d1de64

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

gherkin/javascript/test/GherkinLineTest.ts

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,27 @@ describe('GherkinLine', () => {
66
function getCellsText(line: string) {
77
const gl = new GherkinLine(line, 1)
88

9-
return gl.getTableCells().map(span => span.text)
9+
return gl.getTableCells().map((span) => span.text)
1010
}
1111

1212
it('trims white spaces before cell content', () => {
13-
assert.deepEqual(getCellsText("| \t spaces before|"), ['spaces before'])
13+
assert.deepEqual(getCellsText('| \t spaces before|'), ['spaces before'])
1414
})
1515

1616
it('trims white spaces after cell content', () => {
17-
assert.deepEqual(getCellsText("|spaces after |"), ['spaces after'])
17+
assert.deepEqual(getCellsText('|spaces after |'), ['spaces after'])
1818
})
1919

2020
it('trims white spaces around cell content', () => {
21-
assert.deepEqual(getCellsText("| \t spaces everywhere \t|"), ['spaces everywhere'])
21+
assert.deepEqual(getCellsText('| \t spaces everywhere \t|'), [
22+
'spaces everywhere',
23+
])
2224
})
2325

2426
it('does not delete white spaces inside a cell', () => {
25-
assert.deepEqual(getCellsText("| foo()\n bar\nbaz |"), ['foo()\n bar\nbaz'])
27+
assert.deepEqual(getCellsText('| foo()\n bar\nbaz |'), [
28+
'foo()\n bar\nbaz',
29+
])
2630
})
27-
});
28-
})
31+
})
32+
})

0 commit comments

Comments
 (0)