Skip to content

Commit cb29816

Browse files
committed
lint:fix
1 parent eaaa10e commit cb29816

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

plugins/node/instrumentation-undici/test/fetch.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ describe('UndiciInstrumentation `fetch` tests', function () {
5959
instrumentation.setTracerProvider(provider);
6060

6161
propagation.setGlobalPropagator(new MockPropagation());
62-
context.setGlobalContextManager(new AsyncLocalStorageContextManager().enable());
62+
context.setGlobalContextManager(
63+
new AsyncLocalStorageContextManager().enable()
64+
);
6365
mockServer.start(done);
6466
mockServer.mockListener((req, res) => {
6567
// There are some situations where there is no way to access headers

plugins/node/instrumentation-undici/test/metrics.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ describe('UndiciInstrumentation metrics tests', function () {
5858
instrumentation.setTracerProvider(provider);
5959
instrumentation.setMeterProvider(meterProvider);
6060

61-
context.setGlobalContextManager(new AsyncLocalStorageContextManager().enable());
61+
context.setGlobalContextManager(
62+
new AsyncLocalStorageContextManager().enable()
63+
);
6264
mockServer.start(done);
6365
mockServer.mockListener((req, res) => {
6466
// Return a valid response always

plugins/node/instrumentation-undici/test/undici.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ describe('UndiciInstrumentation `undici` tests', function () {
8585
instrumentation.setTracerProvider(provider);
8686

8787
propagation.setGlobalPropagator(new MockPropagation());
88-
context.setGlobalContextManager(new AsyncLocalStorageContextManager().enable());
88+
context.setGlobalContextManager(
89+
new AsyncLocalStorageContextManager().enable()
90+
);
8991
mockServer.start(done);
9092
mockServer.mockListener((req, res) => {
9193
// There are some situations where there is no way to access headers

0 commit comments

Comments
 (0)