Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(test): _NativeSafeAreaContext.default.getConstants is not a funct…
…ion (#335) Fixes #290 Fixes #255 Verified to work in our own projects. The reason is described in #290, it appears that the native module import comes back as `{ default: {} }`. So `default.getConstants` is `undefined`. The fix ensures it's only called if defined.
- Loading branch information