(value: unknown)
| 274 | |
| 275 | describe('codegraph.json webRoot', () => { |
| 276 | function webRootOf(value: unknown): string | null { |
| 277 | root = fs.mkdtempSync(path.join(os.tmpdir(), 'cg-php-web-root-config-')); |
| 278 | write(root, { 'codegraph.json': JSON.stringify({ exclude: ['vendor/'], webRoot: value }) }); |
| 279 | clearProjectConfigCache(); |
| 280 | return loadWebRoot(root); |
| 281 | } |
| 282 | |
| 283 | it.each([ |
| 284 | ['public', 'public'], |
no test coverage detected