Skip to content

Commit 27d6503

Browse files
authored
test: minor cleanup to pino ESM test (#2241)
The ESM tests are out of process so the setup done in setupInstrumentationAndInitTestContext() isn't relevant.
1 parent 840c4d3 commit 27d6503

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plugins/node/opentelemetry-instrumentation-pino/test/pino-enabled.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,8 @@ describe('PinoInstrumentation', () => {
239239
});
240240
});
241241
});
242+
242243
describe('ESM usage', () => {
243-
beforeEach(() => {
244-
testContext = setupInstrumentationAndInitTestContext();
245-
});
246244
it('should work with ESM default import', async function () {
247245
testContext = setupInstrumentationAndInitTestContext();
248246
let logRecords: any[];

0 commit comments

Comments
 (0)