(path: string)
| 95 | const injections: Array<Injection> = [] |
| 96 | |
| 97 | const appliesTo = (path: string) => { |
| 98 | if (int.type === 'vite-plugin') return path.includes('vite.config') |
| 99 | if ( |
| 100 | int.type === 'provider' || |
| 101 | int.type === 'root-provider' || |
| 102 | int.type === 'devtools' |
| 103 | ) { |
| 104 | return path.includes('__root') || path.includes('root.tsx') |
| 105 | } |
| 106 | return false |
| 107 | } |
| 108 | |
| 109 | if (int.import) { |
| 110 | const prefix = int.import.split(' from ')[0] |
nothing calls this directly
no outgoing calls
no test coverage detected