diff --git a/packages/uniwind/tests/native/styles-parsing/dir.test.tsx b/packages/uniwind/tests/native/styles-parsing/dir.test.tsx
index 80681852..0fc93e96 100644
--- a/packages/uniwind/tests/native/styles-parsing/dir.test.tsx
+++ b/packages/uniwind/tests/native/styles-parsing/dir.test.tsx
@@ -62,4 +62,28 @@ describe('Dir', () => {
expect(getStylesFromId('ltr-red').backgroundColor).toBe(TW_RED_500)
})
+
+ test('inline RTL inherited from ancestor', () => {
+ mockRTL(false)
+
+ const { getStylesFromId } = renderUniwind(
+
+
+ ,
+ )
+
+ expect(getStylesFromId('rtl-red').backgroundColor).toBe(TW_RED_500)
+ })
+
+ test('inline LTR inherited from ancestor', () => {
+ mockRTL(true)
+
+ const { getStylesFromId } = renderUniwind(
+
+
+ ,
+ )
+
+ expect(getStylesFromId('ltr-red').backgroundColor).toBe(TW_RED_500)
+ })
})