It's unclear to me if it is necessary / best practice to call device.reloadReactNative()
before a test runs in Detox. The examples make it seem like it is best practice but it's unclear to me.
For example calling it in the beforeAll
, is this necessary?
describe('Example', () => {
beforeAll(async () => {
await device.reloadReactNative();
});
it('render a tappable list of posts', async () => {...});
});
I read here that it is best practice to call it but I'm not sure about the reliability of the source.