Skip to content

Commit adc5299

Browse files
fix: lint formatting
1 parent b5b1d31 commit adc5299

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

src/taxonomy/tree-table/TableBody.test.tsx

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ jest.mock('./CreateRow', () => () => (
1111
</tr>
1212
));
1313

14-
jest.mock('./EditRow', () => ({
14+
jest.mock('./EditRow', () =>
15+
({
1516
initialValue,
1617
handleUpdateRow,
1718
cancelEditRow,
@@ -31,7 +32,8 @@ jest.mock('./EditRow', () => ({
3132
</tr>
3233
));
3334

34-
jest.mock('./NestedRows', () => ({
35+
jest.mock('./NestedRows', () =>
36+
({
3537
parentRowValue,
3638
isCreating,
3739
onSaveNewChildRow,
@@ -108,14 +110,15 @@ const makeRow = ({
108110
getVisibleCells: () => [makeCell(`${id}-cell`, `${value} cell`)],
109111
});
110112

111-
const renderTableBody = (contextValue = baseContextValue()) => render(
112-
<TreeTableContext.Provider value={contextValue as any}>
113-
<table>
114-
<TableBody />
115-
</table>
116-
</TreeTableContext.Provider>,
117-
{ wrapper },
118-
);
113+
const renderTableBody = (contextValue = baseContextValue()) =>
114+
render(
115+
<TreeTableContext.Provider value={contextValue as any}>
116+
<table>
117+
<TableBody />
118+
</table>
119+
</TreeTableContext.Provider>,
120+
{ wrapper },
121+
);
119122

120123
describe('TableBody', () => {
121124
it('returns null when no table instance is available in context', () => {

0 commit comments

Comments
 (0)