Various helpers and data samples used for React Native Firebase testing.
Commercial use, Distribution, Modification, Patent use and Private use is NOT permitted except for usage by Invertase and it's React Native Firebase product only.
Specifically; you are NOT permitted to use this code in any form except in circumstances where it's usage is only for the benefit of, and contributing to, the React Native Firebase product by Invertase, or; you have been permitted to do so in writing by Invertase.
- when you run
yarnin the main directory, it will install all the packages you need for development, but it will also run the lifecycle script
postinstallwhich will fail since it expects to be run only in
@react-native-firebase/tests. That's okay.
- you will need to run
yarn buildevery time you change source in the main package before testing it
- You may prove to yourself that the package is working by looking at
- when you run
tests/yarn3to validate changes, it may fail on a malloc error because it's trying to pack up the whole
node_modulesfolder from the main package in
../../. Delete the
node_modulesup there and re-run the test, it should work. A quick investigation of the
portal:options instead of
file:had unsatisfactory results as it did not run the
postinstallscript every time.
- I believe the
context.TestingApimethod is unused (it is not used in
@react-native-firebase/tests) but it is unknown if there are other packages using this one, so it remains