Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Klynger committed Jan 21, 2020
1 parent 3ab0dfb commit 78bfcc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]
### Added
- Some props to the schema of the shelf.
- `arrows`, `autoplay`, `nativationStep`, `titleText`, `showTitle`, `itemsPerPage`, `minItemsPerPage` and `gap` props to the schema of the Shelf.

## [1.34.1] - 2020-01-14
### Fixed
Expand Down
4 changes: 2 additions & 2 deletions react/__test__/Shelf.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ describe('Shelf component', () => {
showTitle: true,
}

const titleTextId = Shelf.schema.properties.title.default
const wrapper = render(<ProductList titleText={titleTextId} {...props} {...customProps} />)
const titleText = 'store/shelf.title'
const wrapper = render(<ProductList titleText={titleText} {...props} {...customProps} />)
return wrapper
}

Expand Down

0 comments on commit 78bfcc4

Please sign in to comment.