Skip to content

Commit

Permalink
test: minor cleanup to pino ESM test (#2241)
Browse files Browse the repository at this point in the history
The ESM tests are out of process so the setup done in
setupInstrumentationAndInitTestContext() isn't relevant.
  • Loading branch information
trentm authored May 27, 2024
1 parent 840c4d3 commit 27d6503
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,8 @@ describe('PinoInstrumentation', () => {
});
});
});

describe('ESM usage', () => {
beforeEach(() => {
testContext = setupInstrumentationAndInitTestContext();
});
it('should work with ESM default import', async function () {
testContext = setupInstrumentationAndInitTestContext();
let logRecords: any[];
Expand Down

0 comments on commit 27d6503

Please sign in to comment.