Skip to content

Commit ef95e28

Browse files
committed
fix: change injection format for b3 propagator in fetch test
1 parent aec05ec commit ef95e28

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/opentelemetry-plugin-fetch/test/fetch.test.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,11 @@ describe('fetch', () => {
218218
});
219219

220220
before(() => {
221-
api.propagation.setGlobalPropagator(new core.B3Propagator());
221+
api.propagation.setGlobalPropagator(
222+
new core.B3Propagator({
223+
injectEncoding: core.B3InjectEncoding.MULTI_HEADER,
224+
})
225+
);
222226
});
223227

224228
describe('when request is successful', () => {

0 commit comments

Comments
 (0)