Skip to content

Commit dcdb3fa

Browse files
committed
chore: Fix failing test due to addition of examples
1 parent 7924a7e commit dcdb3fa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/utils/__tests__/propTypeInfo.js

+8
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ describe('getTypeMeta', () => {
336336
description: undefined,
337337
deprecation: null,
338338
isRequired: true,
339+
examples: [],
339340
type: {
340341
meta: null,
341342
raw: 'string',
@@ -348,6 +349,7 @@ describe('getTypeMeta', () => {
348349
description: undefined,
349350
deprecation: null,
350351
isRequired: false,
352+
examples: [],
351353
type: {
352354
meta: null,
353355
raw: 'string',
@@ -360,6 +362,7 @@ describe('getTypeMeta', () => {
360362
description: undefined,
361363
deprecation: null,
362364
isRequired: false,
365+
examples: [],
363366
type: {
364367
meta: null,
365368
raw: 'string',
@@ -453,6 +456,7 @@ describe('getTypeMeta', () => {
453456
description: 'The name of the path to link to',
454457
deprecation: null,
455458
isRequired: false,
459+
examples: [],
456460
type: {
457461
meta: null,
458462
raw: 'string',
@@ -465,6 +469,7 @@ describe('getTypeMeta', () => {
465469
description: undefined,
466470
deprecation: null,
467471
isRequired: false,
472+
examples: [],
468473
type: {
469474
meta: null,
470475
raw: 'string',
@@ -568,6 +573,7 @@ describe('getTypeMeta', () => {
568573
description: undefined,
569574
deprecation: null,
570575
isRequired: true,
576+
examples: [],
571577
type: {
572578
meta: null,
573579
raw: 'string',
@@ -580,6 +586,7 @@ describe('getTypeMeta', () => {
580586
description: undefined,
581587
deprecation: null,
582588
isRequired: false,
589+
examples: [],
583590
type: {
584591
meta: {
585592
returnValue: { type: 'undefined' },
@@ -595,6 +602,7 @@ describe('getTypeMeta', () => {
595602
description: undefined,
596603
deprecation: null,
597604
isRequired: false,
605+
examples: [],
598606
deprecation: {
599607
date: 1591519180477,
600608
description: 'Use onHide',

0 commit comments

Comments
 (0)