-
Type: Task
-
Resolution: Fixed
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
With the merge of https://github.com/realm/realm-js/pull/3690 we're now optimising our integration tests for developer experience over correctness. More specifically our tests might pass when a package would actually fail to load in a users app, since the way the test harness integrates with our code is different from the way an end user would (via a packaged .tgz).
Prior to publishing a release and potentially on release of every supported platform, we could improve the correctness of our tests by performing an "install test". This shouldn't be an exhaustive test of our API, but instead a simple test that we can load the native module and sync a single object.
These tests will increase the likelihood of catching bugs related to restrictions in the environments when sandboxed (like electrons hardened runtime) / packaging of apps caused by incompatibilities with new versions of our supported platforms.