@planningcenter/chat-react-native 4.6.4-qa-staging.5 → 4.6.4-qa-staging.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planningcenter/chat-react-native",
|
|
3
|
-
"version": "4.6.4-qa-staging.
|
|
3
|
+
"version": "4.6.4-qa-staging.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@fortawesome/fontawesome-svg-core": "^7.2.0",
|
|
35
35
|
"@fortawesome/react-native-fontawesome": "^0.3.2",
|
|
36
|
-
"@planningcenter/emoji-keyboard": "4.6.4-qa-staging.
|
|
36
|
+
"@planningcenter/emoji-keyboard": "4.6.4-qa-staging.6",
|
|
37
37
|
"lodash-inflection": "^1.5.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"sf-symbols-typescript": "^2.2.0",
|
|
85
85
|
"typescript": "~6.0.3"
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "1ab4635ddf474d140ad6291b503f351c3550c41f"
|
|
88
88
|
}
|
|
@@ -32,11 +32,11 @@ describe('UnsupportedMessage', () => {
|
|
|
32
32
|
it("shows the server's fallback text and the update hint", () => {
|
|
33
33
|
render(
|
|
34
34
|
<UnsupportedMessage
|
|
35
|
-
message={message({ text: '📊 Poll: Lunch? — Update
|
|
35
|
+
message={message({ text: '📊 Poll: Lunch? — Update your app to vote' })}
|
|
36
36
|
/>
|
|
37
37
|
)
|
|
38
38
|
|
|
39
|
-
expect(screen.getByText('📊 Poll: Lunch? — Update
|
|
39
|
+
expect(screen.getByText('📊 Poll: Lunch? — Update your app to vote')).toBeTruthy()
|
|
40
40
|
expect(screen.getByText(UNSUPPORTED_MESSAGE_HINT)).toBeTruthy()
|
|
41
41
|
})
|
|
42
42
|
|
|
@@ -68,7 +68,7 @@ describe('UnsupportedMessage', () => {
|
|
|
68
68
|
render(
|
|
69
69
|
<UnsupportedMessage
|
|
70
70
|
message={message({
|
|
71
|
-
text: '📊 Poll: Lunch? — Update
|
|
71
|
+
text: '📊 Poll: Lunch? — Update your app to vote',
|
|
72
72
|
fallbackContent: {
|
|
73
73
|
kind: 'poll',
|
|
74
74
|
title: 'Lunch?',
|
|
@@ -78,7 +78,7 @@ describe('UnsupportedMessage', () => {
|
|
|
78
78
|
{ label: 'Pizza', detail: '1', fraction: 0.33 },
|
|
79
79
|
],
|
|
80
80
|
footer: 'Ends Friday',
|
|
81
|
-
hint: 'Update
|
|
81
|
+
hint: 'Update your app to vote',
|
|
82
82
|
},
|
|
83
83
|
})}
|
|
84
84
|
/>
|
|
@@ -90,7 +90,7 @@ describe('UnsupportedMessage', () => {
|
|
|
90
90
|
expect(screen.getByText('2')).toBeTruthy()
|
|
91
91
|
expect(screen.getByText('Pizza')).toBeTruthy()
|
|
92
92
|
expect(screen.getByText('Ends Friday')).toBeTruthy()
|
|
93
|
-
expect(screen.getByText('Update
|
|
93
|
+
expect(screen.getByText('Update your app to vote')).toBeTruthy()
|
|
94
94
|
expect(screen.queryByText(/📊 Poll/)).toBeNull()
|
|
95
95
|
expect(screen.queryByRole('button')).toBeNull()
|
|
96
96
|
})
|