()
| 15 | (global as GlobalWithRequire).require = require; |
| 16 | |
| 17 | function cleanNodeModulesCache() { |
| 18 | const cache = (global as GlobalWithRequire).require.cache; |
| 19 | for (const cacheKey of Object.keys(cache)) { |
| 20 | delete cache[cacheKey]; |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | function createRequireTests(modules: Record<string, string>) { |
| 25 | return Object.keys(modules).reduce((result, moduleName) => { |
nothing calls this directly
no outgoing calls
no test coverage detected