(name, optionsOrFn, maybeFn)
| 44 | // CI runs one full i18n:audit immediately after this file; keep mutation-heavy |
| 45 | // audit integration cases in the default profile without paying that cost twice. |
| 46 | function auditIntegrationTest(name, optionsOrFn, maybeFn) { |
| 47 | const runner = skipAuditIntegrationTests ? test.skip : test; |
| 48 | if (typeof optionsOrFn === 'function') { |
| 49 | return runner(name, optionsOrFn); |
| 50 | } |
| 51 | |
| 52 | return runner(name, optionsOrFn, maybeFn); |
| 53 | } |
| 54 | |
| 55 | function withTemporaryTextFile(relativePath, content, callback) { |
| 56 | const absolutePath = path.join(root, relativePath); |
no outgoing calls
no test coverage detected