(name: string)
| 9 | import { JS_DEBUG_NAME, SERVER_APP_NAME } from './constants'; |
| 10 | |
| 11 | export const isValidEvent = (name: string) => { |
| 12 | // The name can be of the form: `Debug Blazor Web Assembly in Browser: https://localhost:7291` |
| 13 | // hence we have to examine what the name **startsWith** |
| 14 | return name.startsWith(JS_DEBUG_NAME) || name === SERVER_APP_NAME; |
| 15 | }; |
| 16 | |
| 17 | const killProcess = (targetPid: number | undefined, logger: RazorLogger) => { |
| 18 | // If no PID was provided, then exit early. |
no outgoing calls
no test coverage detected