mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 21:48:04 -05:00
* INJIMOB-3246 Code coverage for Inji-Wallet repo increase above 5% Signed-off-by: Kaushik Gupta <kausgpt97@gmail.com> * INJIMOB-3246: added snapshot tests and coverage increased to +4% Signed-off-by: Kaushik Gupta <kausgpt97@gmail.com> * removed duplicated lines Signed-off-by: Kaushik Gupta <kausgpt97@gmail.com> * Added updateCredentialInformation tests Signed-off-by: Kaushik Gupta <kausgpt97@gmail.com> * added code rabbit changes Signed-off-by: Kaushik Gupta <kausgpt97@gmail.com> * removed platform-specific tests without mocking Signed-off-by: Kaushik Gupta <kausgpt97@gmail.com> * standardize mocks in VcItemContainerProfileImage tests Signed-off-by: Kaushik Gupta <kausgpt97@gmail.com> --------- Signed-off-by: Kaushik Gupta <kausgpt97@gmail.com>
105 lines
1.8 KiB
Plaintext
105 lines
1.8 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`VcItemContainerProfileImage Component should match snapshot with empty string face 1`] = `
|
|
<View
|
|
testID="mockProfileIcon"
|
|
/>
|
|
`;
|
|
|
|
exports[`VcItemContainerProfileImage Component should match snapshot with face image 1`] = `
|
|
<View
|
|
accessibilityIgnoresInvertColors={true}
|
|
style={
|
|
{
|
|
"borderRadius": 100,
|
|
"height": 53,
|
|
"width": 40,
|
|
}
|
|
}
|
|
>
|
|
<Image
|
|
source={
|
|
{
|
|
"uri": "https://example.com/avatar.jpg",
|
|
}
|
|
}
|
|
style={
|
|
[
|
|
{
|
|
"bottom": 0,
|
|
"left": 0,
|
|
"position": "absolute",
|
|
"right": 0,
|
|
"top": 0,
|
|
},
|
|
{
|
|
"height": 53,
|
|
"width": 40,
|
|
},
|
|
{
|
|
"borderRadius": 10,
|
|
"height": 53,
|
|
"width": 40,
|
|
},
|
|
]
|
|
}
|
|
/>
|
|
</View>
|
|
`;
|
|
|
|
exports[`VcItemContainerProfileImage Component should match snapshot with face image and pinned 1`] = `
|
|
<View
|
|
accessibilityIgnoresInvertColors={true}
|
|
style={
|
|
{
|
|
"borderRadius": 100,
|
|
"height": 53,
|
|
"width": 40,
|
|
}
|
|
}
|
|
>
|
|
<Image
|
|
source={
|
|
{
|
|
"uri": "https://example.com/avatar.jpg",
|
|
}
|
|
}
|
|
style={
|
|
[
|
|
{
|
|
"bottom": 0,
|
|
"left": 0,
|
|
"position": "absolute",
|
|
"right": 0,
|
|
"top": 0,
|
|
},
|
|
{
|
|
"height": 53,
|
|
"width": 40,
|
|
},
|
|
{
|
|
"borderRadius": 10,
|
|
"height": 53,
|
|
"width": 40,
|
|
},
|
|
]
|
|
}
|
|
/>
|
|
<View
|
|
testID="mockPinIcon"
|
|
/>
|
|
</View>
|
|
`;
|
|
|
|
exports[`VcItemContainerProfileImage Component should match snapshot without face image 1`] = `
|
|
<View
|
|
testID="mockProfileIcon"
|
|
/>
|
|
`;
|
|
|
|
exports[`VcItemContainerProfileImage Component should match snapshot without face image and pinned 1`] = `
|
|
<View
|
|
testID="mockProfileIcon"
|
|
/>
|
|
`;
|