MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / getTestSentryErrors

Function getTestSentryErrors

packages/ember/tests/helpers/utils.ts:8–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6};
7
8function getTestSentryErrors(): Event[] {
9 return window._sentryTestEvents.filter(event => event['type'] !== 'transaction');
10}
11
12function getTestSentryTransactions(): Event[] {
13 return window._sentryTestEvents.filter(event => event['type'] === 'transaction');

Callers 2

assertSentryErrorCountFunction · 0.85
assertSentryErrorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected