We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b44b9d commit 44cadeeCopy full SHA for 44cadee
dev-packages/node-integration-tests/suites/tracing/meta-tags/test.ts
@@ -16,8 +16,9 @@ describe('getTraceMetaTags', () => {
16
baggage: 'sentry-environment=production',
17
});
18
19
- const html =
20
- typeof response === 'object' && response && 'response' in response && (response?.response as unknown as string);
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
+ // @ts-ignore
21
+ const html = response?.response as unknown as string;
22
23
expect(html).toMatch(/<meta name="sentry-trace" content="cd7ee7a6fe3ebe7ab9c3271559bc203c-[a-z0-9]{16}-1"\/>/);
24
expect(html).toContain('<meta name="baggage" content="sentry-environment=production"/>');
0 commit comments