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

Function regexSources

packages/nextjs/test/serverSdk.test.ts:126–128  ·  view source on GitHub ↗
(patterns: NonNullable<SentryNode.NodeOptions['ignoreSpans']>)

Source from the content-addressed store, hash-verified

124 }
125
126 function regexSources(patterns: NonNullable<SentryNode.NodeOptions['ignoreSpans']>): string[] {
127 return patterns.filter((p): p is RegExp => p instanceof RegExp).map(p => p.source);
128 }
129
130 it('appends the Next.js name patterns and attribute filter', () => {
131 init({});

Callers 1

serverSdk.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected