(OS)
| 119 | }; |
| 120 | |
| 121 | const mockPlatform = (OS) => { |
| 122 | jest.resetModules(); |
| 123 | |
| 124 | jest.doMock('react-native', () => ({ |
| 125 | Platform: { |
| 126 | OS, |
| 127 | select: (objs) => objs[OS] ?? objs.default ?? objs.ios, |
| 128 | }, |
| 129 | })); |
| 130 | }; |
| 131 | |
| 132 | const loadFonts = () => { |
| 133 | let configureFonts; |
no outgoing calls
no test coverage detected
searching dependent graphs…