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

Function isTestEnv

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

Source from the content-addressed store, hash-verified

159}
160
161function isTestEnv(): boolean {
162 return process.env.VITEST === 'true' || process.env.NODE_ENV === 'test';
163}
164
165function isSentrySelfTestEnabled(): boolean {
166 const raw = process.env[SENTRY_SELF_TEST_ENV_VAR]?.trim().toLowerCase();

Callers 7

setSentryRuntimeContextFunction · 0.70
initSentryFunction · 0.70
enrichSentryContextFunction · 0.70
flushAndCloseSentryFunction · 0.70
flushSentryFunction · 0.70
shouldEmitMetricsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected