MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / isSentrySelfTestEnabled

Function isSentrySelfTestEnabled

src/utils/sentry.ts:165–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163}
164
165function isSentrySelfTestEnabled(): boolean {
166 const raw = process.env[SENTRY_SELF_TEST_ENV_VAR]?.trim().toLowerCase();
167 return raw === '1' || raw === 'true' || raw === 'yes';
168}
169function emitSentrySelfTest(mode: SentryRuntimeMode | undefined): void {
170 if (!isSentrySelfTestEnabled() || selfTestEmitted) {
171 return;

Callers 1

emitSentrySelfTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected