(source: string)
| 37 | } |
| 38 | |
| 39 | export function parseSourceType(source: string): 'script' | 'module' { |
| 40 | return source.indexOf('@script') !== -1 ? 'script' : 'module'; |
| 41 | } |
| 42 | |
| 43 | /** |
| 44 | * Parse react compiler plugin + environment options from test fixture. Note |
no outgoing calls
no test coverage detected