lint, fix tests

This commit is contained in:
Hailey
2023-12-27 20:10:53 -08:00
parent 03d145e467
commit f2914761fa
2 changed files with 18 additions and 24 deletions
+17 -17
View File
@@ -579,85 +579,85 @@ describe('parseEmbedPlayerFromUrl', () => {
},
{
type: 'giphy_gif',
type: 'gif',
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
},
undefined,
undefined,
{
type: 'giphy_gif',
type: 'gif',
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
},
{
type: 'giphy_gif',
type: 'gif',
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
},
{
type: 'giphy_gif',
type: 'gif',
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
},
{
type: 'giphy_gif',
type: 'gif',
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
},
{
type: 'giphy_gif',
type: 'gif',
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
},
{
type: 'giphy_gif',
type: 'gif',
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
},
undefined,
undefined,
{
type: 'giphy_gif',
type: 'gif',
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
},
{
type: 'giphy_gif',
type: 'gif',
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
},
{
type: 'giphy_gif',
type: 'gif',
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
},
{
type: 'giphy_gif',
type: 'gif',
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
},
{
type: 'giphy_gif',
type: 'gif',
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
},
{
type: 'tenor_gif',
type: 'gif',
playerUri: 'https://media1.tenor.com/m/gifId/someName.gif',
},
undefined,
undefined,
{
type: 'tenor_gif',
type: 'gif',
playerUri: 'https://tenor.com/view/gifId.gif',
},
undefined,
undefined,
{
type: 'tenor_gif',
type: 'gif',
playerUri: 'https://tenor.com/view/gifId.gif',
},
{
type: 'tenor_gif',
type: 'gif',
playerUri: 'https://c.tenor.com/gifId/tenor.gif',
},
{
type: 'tenor_gif',
type: 'gif',
playerUri: 'https://c.tenor.com/gifId/tenor.webp',
},
undefined,
@@ -201,9 +201,7 @@ export function ExternalPlayer({
},
styles.topRadius,
]}
source={{
uri: link.thumb,
}}
source={{uri: link.thumb}}
accessibilityIgnoresInvertColors
/>
)}
@@ -240,10 +238,6 @@ const styles = StyleSheet.create({
alignItems: 'center',
backgroundColor: 'rgba(0,0,0,0.5)',
},
imageContainer: {
width: '100%',
overflow: 'hidden',
},
overlayLayer: {
zIndex: 2,
},