I am using gluestack v1 in my react native project with RN version 73.9 recently i have upgraded RN version to 79.5 this result in failing tests.every import from gluestack is failing with below reason
{"Object.<anonymous>":function(module,exports,require,
dirname,filename,jest){import { Button as ButtonMain } from './Button';
^^^^^^
SyntaxError: Cannot use import statement outside a module
1 | import { ScrollView, SelectIcon, Switch, Text, View } from '@gluestack-ui/themed';
In gihube this issue is reported previously:
https://github.com/gluestack/gluestack-ui/issues/1475The voted soultion was working with RN 73.9 but it is not working in RN 79.5.
Could you guys please check this, i am kind of stuck here in my RN upgrade task, we are using gluestacks most screens.