(rel: string, content: string)
| 424 | }); |
| 425 | |
| 426 | function write(rel: string, content: string) { |
| 427 | const full = path.join(tmpDir!, rel); |
| 428 | fs.mkdirSync(path.dirname(full), { recursive: true }); |
| 429 | fs.writeFileSync(full, content); |
| 430 | } |
| 431 | |
| 432 | it('connects a component tap to the screen it navigates to', async () => { |
| 433 | tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'cg-expo-router-')); |