(source: string | undefined)
| 56 | * if (item.hooks && allowed) { register(...) } |
| 57 | */ |
| 58 | export function isSourceAdminTrusted(source: string | undefined): boolean { |
| 59 | return source !== undefined && ADMIN_TRUSTED_SOURCES.has(source) |
| 60 | } |
| 61 |
no test coverage detected