Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit 225c7e8

Browse files
committed
fixed tests; amended changelog
1 parent bf75b8c commit 225c7e8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
2121
- `type` prop is replaced with `color` in `Divider` component @layershifter ([#558](https://github.com/stardust-ui/react/pull/558))
2222
- Remove `createColorVariants` and `setColorLightness` utils @layershifter ([#583](https://github.com/stardust-ui/react/pull/583))
2323
- Remove `accessibility` prop (and corresponding behavior) from `ButtonGroup` @kolaps33 ([#605](https://github.com/stardust-ui/react/pull/605))
24-
- Add `gutter` prop to `Chat.Item`, removed `avatar` from `Chat.Message` @Bugaa92 ([#556](https://github.com/stardust-ui/react/pull/556))
24+
- Add `gutter` prop to `Chat.Item`, removed `avatar` from `Chat.Message`, renamed `content` slot to `message` for `Chat.Item`, deprecated Children API for `Chat` components @Bugaa92 ([#556](https://github.com/stardust-ui/react/pull/556))
2525

2626
### Fixes
2727
- Fix `Provider` is not executing staticStyles with the merged siteVariables @mnajdova ([#559](https://github.com/stardust-ui/react/pull/559))

test/specs/components/Chat/Chat-test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const chatImplementsCollectionShorthandProp = implementsCollectionShorthandProp(
1010

1111
describe('Chat', () => {
1212
isConformant(Chat)
13-
chatImplementsCollectionShorthandProp('items', ChatItem)
13+
chatImplementsCollectionShorthandProp('items', ChatItem, { mapsValueToProp: 'message' })
1414

1515
describe('accessibility', () => {
1616
handlesAccessibility(Chat, {

test/specs/components/Chat/ChatItem-test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ const chatItemImplementsShorthandProp = implementsShorthandProp(ChatItem)
77
describe('ChatItem', () => {
88
isConformant(ChatItem)
99

10-
chatItemImplementsShorthandProp('content', Slot, { mapsValueToProp: 'children' })
1110
chatItemImplementsShorthandProp('gutter', Slot, { mapsValueToProp: 'children' })
11+
chatItemImplementsShorthandProp('message', Slot, { mapsValueToProp: 'children' })
1212
})

0 commit comments

Comments
 (0)