Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
spalladino committed Dec 10, 2024
1 parent d0828c0 commit 92981f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yarn-project/foundation/src/jest/setup.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { overwriteLoggingStream, pinoPrettyOpts } from '@aztec/foundation/log';

import pretty from 'pino-pretty';

// Overwrite logging stream with pino-pretty. We define this as a separate
// file so we don't mess up with dependencies in non-testing environments,
// since pino-pretty messes up with browser bundles.
// See also https://www.npmjs.com/package/pino-pretty?activeTab=readme#user-content-usage-with-jest
overwriteLoggingStream(pretty(pinoPrettyOpts));
overwriteLoggingStream(pretty(pinoPrettyOpts));

0 comments on commit 92981f5

Please sign in to comment.