From 6d0542826e9603a1c117caff42d6f0631a8ac21b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrycja=20Kali=C5=84ska?= Date: Thu, 12 Dec 2024 16:57:04 +0100 Subject: [PATCH] small fix for runtime test --- .../src/examples/RuntimeTests/ReJest/types.ts | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/apps/common-app/src/examples/RuntimeTests/ReJest/types.ts b/apps/common-app/src/examples/RuntimeTests/ReJest/types.ts index 48069b6e27a..23600e5fc05 100644 --- a/apps/common-app/src/examples/RuntimeTests/ReJest/types.ts +++ b/apps/common-app/src/examples/RuntimeTests/ReJest/types.ts @@ -59,19 +59,11 @@ export type TestSuite = { decorator?: DescribeDecorator | null; }; -export type ValidPropNames = - | 'zIndex' - | 'opacity' - | 'width' - | 'height' - | 'top' - | 'left' - | 'backgroundColor' - | 'boxShadow'; +export type ValidPropNames = 'zIndex' | 'opacity' | 'width' | 'height' | 'top' | 'left' | 'backgroundColor'; export function isValidPropName(propName: string): propName is ValidPropNames { 'worklet'; - return ['zIndex', 'opacity', 'width', 'height', 'top', 'left', 'backgroundColor', 'boxShadow'].includes(propName); + return ['zIndex', 'opacity', 'width', 'height', 'top', 'left', 'backgroundColor'].includes(propName); } export enum ComparisonMode {