Skip to content

Commit 8732e32

Browse files
committed
just fetch for now
1 parent 74df803 commit 8732e32

2 files changed

Lines changed: 1 addition & 30 deletions

File tree

  • dev-packages/node-integration-tests/suites/tracing/no-parent-span-client-report-streamed

dev-packages/node-integration-tests/suites/tracing/no-parent-span-client-report-streamed/scenario.mjs

Lines changed: 0 additions & 8 deletions
This file was deleted.

dev-packages/node-integration-tests/suites/tracing/no-parent-span-client-report-streamed/test.ts

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,8 @@ describe('no_parent_span with streaming enabled', () => {
66
cleanupChildProcesses();
77
});
88

9-
createEsmAndCjsTests(__dirname, 'scenario.mjs', 'instrument.mjs', (createRunner, test) => {
10-
test('sends http.client span without a local parent when span streaming is enabled', async () => {
11-
const runner = createRunner()
12-
.expect({
13-
span: span => {
14-
const httpClientSpan = span.items.find(item =>
15-
item.attributes?.['sentry.op']
16-
? item.attributes['sentry.op'].type === 'string' && item.attributes['sentry.op'].value === 'http.client'
17-
: false,
18-
);
19-
20-
expect(httpClientSpan).toBeDefined();
21-
expect(httpClientSpan?.name).toMatch(/^GET .*\/external$/);
22-
},
23-
})
24-
.start();
25-
26-
await runner.completed();
27-
});
28-
});
29-
309
createEsmAndCjsTests(__dirname, 'scenario-fetch.mjs', 'instrument.mjs', (createRunner, test) => {
31-
test('sends fetch http.client span without a local parent when span streaming is enabled', async () => {
10+
test('sends http.client span without a local parent when span streaming is enabled', async () => {
3211
const runner = createRunner()
3312
.expect({
3413
span: span => {

0 commit comments

Comments
 (0)