Skip to content

Commit 44cadee

Browse files
committed
use ts-ignore
1 parent 0b44b9d commit 44cadee

File tree

1 file changed

+3
-2
lines changed
  • dev-packages/node-integration-tests/suites/tracing/meta-tags

1 file changed

+3
-2
lines changed

dev-packages/node-integration-tests/suites/tracing/meta-tags/test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ describe('getTraceMetaTags', () => {
1616
baggage: 'sentry-environment=production',
1717
});
1818

19-
const html =
20-
typeof response === 'object' && response && 'response' in response && (response?.response as unknown as string);
19+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
20+
// @ts-ignore
21+
const html = response?.response as unknown as string;
2122

2223
expect(html).toMatch(/<meta name="sentry-trace" content="cd7ee7a6fe3ebe7ab9c3271559bc203c-[a-z0-9]{16}-1"\/>/);
2324
expect(html).toContain('<meta name="baggage" content="sentry-environment=production"/>');

0 commit comments

Comments
 (0)