(name: string, file: string, line: number, qualified = true)
| 17 | const ROOT = '/workspace'; |
| 18 | |
| 19 | function ref(name: string, file: string, line: number, qualified = true): SymbolRef { |
| 20 | return { |
| 21 | ...(qualified ? { nodeId: `p.${name}`, qualifiedName: `p.${name}` } : {}), |
| 22 | name, |
| 23 | kind: 'function', |
| 24 | uri: file.length === 0 ? '' : `file://${ROOT}/${file}`, |
| 25 | range: toEditorRange(line, line), |
| 26 | selectionRange: toEditorRange(line, line), |
| 27 | }; |
| 28 | } |
| 29 | |
| 30 | const CLOSURE: ClosureResult = { |
| 31 | root: ref('createUser', 'src/services/userService.ts', 23), |
no test coverage detected