8c6786bad6
* rename wireError in ownbeaconstore to locationPublishError Signed-off-by: Kerry Archibald <kerrya@element.io> * rename getLiveBeaconIdsWithWireError -> getLiveBeaconIdsWithLocationPublishError Signed-off-by: Kerry Archibald <kerrya@element.io> * rename wire error variables in components Signed-off-by: Kerry Archibald <kerrya@element.io> * new snapshots for new test names Signed-off-by: Kerry Archibald <kerrya@element.io> * fix bad capitalisation on onResetLocationPublishError Signed-off-by: Kerry Archibald <kerrya@element.io> * missed variable Signed-off-by: Kerry Archibald <kerrya@element.io>
76 lines
2.1 KiB
Text
76 lines
2.1 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<LeftPanelLiveShareWarning /> when user has live location monitor renders correctly when minimized 1`] = `
|
|
<LeftPanelLiveShareWarning
|
|
isMinimized={true}
|
|
>
|
|
<AccessibleButton
|
|
className="mx_LeftPanelLiveShareWarning mx_LeftPanelLiveShareWarning__minimized"
|
|
element="div"
|
|
onClick={[Function]}
|
|
role="button"
|
|
tabIndex={0}
|
|
title="You are sharing your live location"
|
|
>
|
|
<div
|
|
className="mx_AccessibleButton mx_LeftPanelLiveShareWarning mx_LeftPanelLiveShareWarning__minimized"
|
|
onClick={[Function]}
|
|
onKeyDown={[Function]}
|
|
onKeyUp={[Function]}
|
|
role="button"
|
|
tabIndex={0}
|
|
title="You are sharing your live location"
|
|
>
|
|
<div
|
|
height={10}
|
|
/>
|
|
</div>
|
|
</AccessibleButton>
|
|
</LeftPanelLiveShareWarning>
|
|
`;
|
|
|
|
exports[`<LeftPanelLiveShareWarning /> when user has live location monitor renders correctly when not minimized 1`] = `
|
|
<LeftPanelLiveShareWarning>
|
|
<AccessibleButton
|
|
className="mx_LeftPanelLiveShareWarning"
|
|
element="div"
|
|
onClick={[Function]}
|
|
role="button"
|
|
tabIndex={0}
|
|
>
|
|
<div
|
|
className="mx_AccessibleButton mx_LeftPanelLiveShareWarning"
|
|
onClick={[Function]}
|
|
onKeyDown={[Function]}
|
|
onKeyUp={[Function]}
|
|
role="button"
|
|
tabIndex={0}
|
|
>
|
|
You are sharing your live location
|
|
</div>
|
|
</AccessibleButton>
|
|
</LeftPanelLiveShareWarning>
|
|
`;
|
|
|
|
exports[`<LeftPanelLiveShareWarning /> when user has live location monitor renders location publish error 1`] = `
|
|
<LeftPanelLiveShareWarning>
|
|
<AccessibleButton
|
|
className="mx_LeftPanelLiveShareWarning mx_LeftPanelLiveShareWarning__error"
|
|
element="div"
|
|
onClick={[Function]}
|
|
role="button"
|
|
tabIndex={0}
|
|
>
|
|
<div
|
|
className="mx_AccessibleButton mx_LeftPanelLiveShareWarning mx_LeftPanelLiveShareWarning__error"
|
|
onClick={[Function]}
|
|
onKeyDown={[Function]}
|
|
onKeyUp={[Function]}
|
|
role="button"
|
|
tabIndex={0}
|
|
>
|
|
An error occured whilst sharing your live location
|
|
</div>
|
|
</AccessibleButton>
|
|
</LeftPanelLiveShareWarning>
|
|
`;
|