(patterns: NonNullable<SentryNode.NodeOptions['ignoreSpans']>)
| 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({}); |