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

Function assertSentryErrorCount

packages/ember/tests/helpers/utils.ts:16–18  ·  view source on GitHub ↗
(assert: Assert, count: number)

Source from the content-addressed store, hash-verified

14}
15
16export function assertSentryErrorCount(assert: Assert, count: number): void {
17 assert.equal(getTestSentryErrors().length, count, 'Check correct number of Sentry events were sent');
18}
19
20export function assertSentryTransactionCount(assert: Assert, count: number): void {
21 assert.equal(getTestSentryTransactions().length, count, 'Check correct number of Sentry events were sent');

Callers 1

Calls 1

getTestSentryErrorsFunction · 0.85

Tested by

no test coverage detected