* Dependencies update * Fix WebView * Update to RN 0.58.5 and include the WebSocket fix * Update react-native-video * Fix RNFetchBlob
118 lines
3 KiB
Text
118 lines
3 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`edit_profile should match snapshot 1`] = `
|
|
<View
|
|
style={
|
|
Object {
|
|
"alignItems": "center",
|
|
"justifyContent": "center",
|
|
"padding": 25,
|
|
}
|
|
}
|
|
>
|
|
<ProfilePictureButton
|
|
blurTextBox={[Function]}
|
|
browseFileTypes="public.image"
|
|
canBrowseVideoLibrary={false}
|
|
canTakeVideo={false}
|
|
currentUser={
|
|
Object {
|
|
"email": "dwight@schrutefarms.com",
|
|
"first_name": "Dwight",
|
|
"last_name": "Schrute",
|
|
"nickname": "Dragon",
|
|
"position": "position",
|
|
"username": "ieatbeets",
|
|
}
|
|
}
|
|
maxFileSize={20971520}
|
|
navigator={
|
|
Object {
|
|
"dismissModal": [MockFunction],
|
|
"push": [MockFunction],
|
|
"setButtons": [MockFunction] {
|
|
"calls": Array [
|
|
Array [
|
|
Object {
|
|
"leftButtons": Array [
|
|
Object {
|
|
"id": "close-settings",
|
|
"title": undefined,
|
|
},
|
|
],
|
|
"rightButtons": Array [
|
|
Object {
|
|
"disabled": true,
|
|
"id": "update-profile",
|
|
"showAsAction": "always",
|
|
"title": undefined,
|
|
},
|
|
],
|
|
},
|
|
],
|
|
],
|
|
"results": Array [
|
|
Object {
|
|
"type": "return",
|
|
"value": undefined,
|
|
},
|
|
],
|
|
},
|
|
"setOnNavigatorEvent": [MockFunction] {
|
|
"calls": Array [
|
|
Array [
|
|
[Function],
|
|
],
|
|
],
|
|
"results": Array [
|
|
Object {
|
|
"type": "return",
|
|
"value": undefined,
|
|
},
|
|
],
|
|
},
|
|
}
|
|
}
|
|
onShowFileSizeWarning={[Function]}
|
|
removeProfileImage={[Function]}
|
|
theme={
|
|
Object {
|
|
"awayIndicator": "#ffbc42",
|
|
"buttonBg": "#166de0",
|
|
"buttonColor": "#ffffff",
|
|
"centerChannelBg": "#ffffff",
|
|
"centerChannelColor": "#3d3c40",
|
|
"codeTheme": "github",
|
|
"dndIndicator": "#f74343",
|
|
"errorTextColor": "#fd5960",
|
|
"linkColor": "#2389d7",
|
|
"mentionBj": "#ffffff",
|
|
"mentionColor": "#145dbf",
|
|
"mentionHighlightBg": "#ffe577",
|
|
"mentionHighlightLink": "#166de0",
|
|
"newMessageSeparator": "#ff8800",
|
|
"onlineIndicator": "#06d6a0",
|
|
"sidebarBg": "#145dbf",
|
|
"sidebarHeaderBg": "#1153ab",
|
|
"sidebarHeaderTextColor": "#ffffff",
|
|
"sidebarText": "#ffffff",
|
|
"sidebarTextActiveBorder": "#579eff",
|
|
"sidebarTextActiveColor": "#ffffff",
|
|
"sidebarTextHoverBg": "#4578bf",
|
|
"sidebarUnreadText": "#ffffff",
|
|
"type": "Mattermost",
|
|
}
|
|
}
|
|
uploadFiles={[Function]}
|
|
wrapper={true}
|
|
>
|
|
<Connect(ProfilePicture)
|
|
edit={true}
|
|
imageUri={null}
|
|
size={150}
|
|
statusBorderWidth={6}
|
|
statusSize={40}
|
|
/>
|
|
</ProfilePictureButton>
|
|
</View>
|
|
`;
|