Skip to content

Commit a6d7a69

Browse files
committed
maybe now?
1 parent f6b757f commit a6d7a69

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('getTraceMetaTags', () => {
1717
});
1818

1919
// @ts-expect-error - this is a string, types just don't work well
20-
const html = response?.response as unknown as string;
20+
const html = typeof response === 'object' && (response?.response as unknown as string);
2121

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

0 commit comments

Comments
 (0)