The guards at the site, unjoined.
(src: string, needle: string, language: 'tsx' | 'typescript' | 'swift' = 'tsx')
| 204 | describe('branch guards: the arms of one decision', () => { |
| 205 | /** The guards at the site, unjoined. */ |
| 206 | async function guardsAt(src: string, needle: string, language: 'tsx' | 'typescript' | 'swift' = 'tsx') { |
| 207 | const line = lineOf(src, needle); |
| 208 | const column = src.split('\n')[line - 1]!.indexOf(needle); |
| 209 | return guardsInSource(src, language, line, column); |
| 210 | } |
| 211 | |
| 212 | const ifElse = ` |
| 213 | export async function authUser(req, res) { |
no test coverage detected