Skip to content

Commit

Permalink
change test descriptions (node integration tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lms24 committed Jun 3, 2022
1 parent 8e78e7c commit dd44ae7
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -19,7 +19,7 @@ test('Should assign `baggage` header which contains 3rd party trace baggage data
});
});

test('Should assign `baggage` header which contains sentry trace baggage data to an outgoing request.', async () => {
test('Should not overwrite baggage if the incoming request already has Sentry baggage data.', async () => {
const url = await runServer(__dirname, `${path.resolve(__dirname, '..')}/server.ts`);

const response = (await getAPIResponse(new URL(`${url}/express`), {
Expand All @@ -35,7 +35,7 @@ test('Should assign `baggage` header which contains sentry trace baggage data to
});
});

test('Should assign `baggage` header which contains sentry and 3rd party trace baggage data to an outgoing request.', async () => {
test('Should pass along sentry and 3rd party trace baggage data from an incoming to an outgoing request.', async () => {
const url = await runServer(__dirname, `${path.resolve(__dirname, '..')}/server.ts`);

const response = (await getAPIResponse(new URL(`${url}/express`), {
Expand Down

0 comments on commit dd44ae7

Please sign in to comment.