it('should configure metro bundler with extended configuration', () => {
const metroConfig = {
watchFolders: [
'./path-to/test-dir',
],
};
const { reporter, watchFolders, ...restConfig } = MetroConfig.create(evaConfig, metroConfig);
expect(reporter).toBeTruthy();
expect(watchFolders[0]).toEqual(metroConfig.watchFolders[0]);
expect(restConfig).toBeTruthy();
});