Skip to content

Commit 7d3d9a8

Browse files
style(plugin-chart-table): apply prettier formatting to new scrollbar size test
1 parent 6b1d4b5 commit 7d3d9a8

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

‎superset-frontend/plugins/plugin-chart-table/test/DataTable/utils/getScrollBarSize.test.ts‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,8 @@ test('measures the scrollbar probe using the shared custom scrollbar size', () =
2727

2828
const styleEl = appendSpy.mock.calls
2929
.map(args => args[0])
30-
.find(
31-
(node): node is HTMLStyleElement => node instanceof HTMLStyleElement,
32-
);
33-
expect(styleEl?.textContent).toContain(
34-
`width: ${CUSTOM_SCROLLBAR_SIZE}px`,
35-
);
30+
.find((node): node is HTMLStyleElement => node instanceof HTMLStyleElement);
31+
expect(styleEl?.textContent).toContain(`width: ${CUSTOM_SCROLLBAR_SIZE}px`);
3632

3733
appendSpy.mockRestore();
3834
});

0 commit comments

Comments
 (0)