You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would be making test specifically for a react-native environment correct, as I don't think there's any other common environment that has limited implementation of Window and other browser globals.
I think the way to do this is to use Jest as the test runner and take the relevant pieces of react-native's configs for Jest to simulate running using JSC. The only downside of this is adding a dev dependency on jest just for this use case.
Client needs tests to check if it can run in a constrained environment (i.e. the JSC for React-Native).
The text was updated successfully, but these errors were encountered: