(prefix: string)
| 60 | } |
| 61 | |
| 62 | function makeAppLogWriteStream(prefix: string): fs.WriteStream { |
| 63 | const root = fs.mkdtempSync(path.join(os.tmpdir(), prefix)); |
| 64 | return fs.createWriteStream(path.join(root, 'app.log'), { flags: 'a' }); |
| 65 | } |
| 66 | |
| 67 | test('buildAppleLogPredicate includes bundle-aware filters', () => { |
| 68 | const predicate = buildAppleLogPredicate('com.example.app'); |