Skip to content

Commit 8443ee6

Browse files
Bump gatsby from 2.24.47 to 2.24.65 (#1486)
1 parent 955ea9f commit 8443ee6

File tree

4 files changed

+322
-274
lines changed

4 files changed

+322
-274
lines changed

packages/components/src/Form/Inputs/Combobox/Combobox.test.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ describe('<Combobox/> with children', () => {
194194
fireEvent.click(document)
195195
})
196196

197-
const getIndicatorJSX = (listLevel: boolean) => (
197+
/* eslint-disable-next-line react/display-name */
198+
const GetIndicatorJSX = (listLevel: boolean) => (
198199
indicator: ComboboxOptionIndicatorFunction
199200
) => (
200201
<Combobox key="combobox" value={{ label: 'Foo', value: '101' }}>
@@ -214,7 +215,8 @@ describe('<Combobox/> with children', () => {
214215
</Combobox>
215216
)
216217

217-
const getIndicatorJSXMulti = (listLevel: boolean) => (
218+
/* eslint-disable-next-line react/display-name */
219+
const GetIndicatorJSXMulti = (listLevel: boolean) => (
218220
indicator: ComboboxOptionIndicatorFunction
219221
) => (
220222
<ComboboxMulti
@@ -238,10 +240,10 @@ describe('<Combobox/> with children', () => {
238240
)
239241

240242
test.each([
241-
['list level (Combobox)', getIndicatorJSX(true)],
242-
['list level (ComboboxMulti)', getIndicatorJSXMulti(true)],
243-
['option level (Combobox)', getIndicatorJSX(false)],
244-
['option level (ComboboxMulti)', getIndicatorJSXMulti(false)],
243+
['list level (Combobox)', GetIndicatorJSX(true)],
244+
['list level (ComboboxMulti)', GetIndicatorJSXMulti(true)],
245+
['option level (Combobox)', GetIndicatorJSX(false)],
246+
['option level (ComboboxMulti)', GetIndicatorJSXMulti(false)],
245247
])('Customize the indicator at the %s', (_, getJSX) => {
246248
const indicator = jest.fn()
247249
const { queryByTitle, getByText, getByPlaceholderText } = renderWithTheme(

packages/components/src/Form/Inputs/Select/Select.test.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,8 @@ describe('Select / SelectMulti', () => {
294294
fireEvent.click(document)
295295
})
296296

297-
const getIndicatorJSX = (listLevel: boolean) => (
297+
/* eslint-disable-next-line react/display-name */
298+
const GetIndicatorJSX = (listLevel: boolean) => (
298299
indicator: ComboboxOptionIndicatorFunction
299300
) => (
300301
<Select
@@ -309,7 +310,8 @@ describe('Select / SelectMulti', () => {
309310
/>
310311
)
311312

312-
const getIndicatorJSXMulti = (listLevel: boolean) => (
313+
/* eslint-disable-next-line react/display-name */
314+
const GetIndicatorJSXMulti = (listLevel: boolean) => (
313315
indicator: ComboboxOptionIndicatorFunction
314316
) => (
315317
<SelectMulti
@@ -325,10 +327,10 @@ describe('Select / SelectMulti', () => {
325327
)
326328

327329
test.each([
328-
['list level (Select)', getIndicatorJSX(true)],
329-
['list level (SelectMulti)', getIndicatorJSXMulti(true)],
330-
['option level (Select)', getIndicatorJSX(false)],
331-
['option level (SelectMulti)', getIndicatorJSXMulti(false)],
330+
['list level (Select)', GetIndicatorJSX(true)],
331+
['list level (SelectMulti)', GetIndicatorJSXMulti(true)],
332+
['option level (Select)', GetIndicatorJSX(false)],
333+
['option level (SelectMulti)', GetIndicatorJSXMulti(false)],
332334
])('Customize the indicator at the %s', (_, getJSX) => {
333335
const indicator = jest.fn()
334336
renderWithTheme(getJSX(indicator))

www/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@types/react-copy-to-clipboard": "^4.3.0",
1414
"@types/react-helmet": "^6.1.0",
1515
"babel-plugin-styled-components": "^1.11.1",
16-
"gatsby": "^2.24.47",
16+
"gatsby": "^2.24.65",
1717
"gatsby-plugin-manifest": "^2.4.30",
1818
"gatsby-plugin-mdx": "^1.2.40",
1919
"gatsby-plugin-react-helmet": "^3.3.11",

0 commit comments

Comments
 (0)