()
| 19 | } |
| 20 | |
| 21 | function skipAutoCleanup() { |
| 22 | try { |
| 23 | return !!process.env.RHTL_SKIP_AUTO_CLEANUP |
| 24 | } catch { |
| 25 | // falling back in the case that process.env.RHTL_SKIP_AUTO_CLEANUP cannot be accessed (e.g. browser environment) |
| 26 | return false |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | function autoRegisterCleanup() { |
| 31 | // Automatically registers cleanup in supported testing frameworks |
no outgoing calls
no test coverage detected
searching dependent graphs…