Skip to content

Commit

Permalink
chore: Fix prop type names in test
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jun 6, 2020
1 parent 2701f51 commit a1d0ec3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/__tests__/propTypeInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ describe('getDefaultValue', () => {
test('returns undefined if the default value is an arbitrary object', () => {
const component = {
propTypes: {
bytes: createPropType('object'),
location: createPropType('object'),
},
defaultProps: {
location: { state: '1234' },
Expand All @@ -202,7 +202,7 @@ describe('getDefaultValue', () => {
test('returns stringfied representation of array if the default value is an array', () => {
const component = {
propTypes: {
bytes: createPropType('array'),
sizes: createPropType('array'),
},
defaultProps: {
sizes: [1, 2, 3],
Expand Down

0 comments on commit a1d0ec3

Please sign in to comment.